Skip to main content
Pie
ra0

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCanvas.GetClipRegion(Boolean) Method

Copies the clip region.

#Declaration

Delphi
function GetClipRegion(AConsiderOrigin: Boolean = True): TcxRegion;

#Parameters

Name Type
AConsiderOrigin Boolean

#Returns

Type
TcxRegion

#Remarks

This function returns a copy of the clip region applied to the canvas. The optional AConsiderOrigin parameter defines if the returned clip region’s position shifts horizontally and/or vertically according to the DCOrigin property value. Pass False as this parameter to ignore the canvas origin.

Call the SetClipRegion function to modify or redefine the clip region of the canvas.

See Also