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.ExcludeFrameRect(TRect,Integer,TcxBorders) Method

Excludes a specified frame or any number of its borders from the clip region.

#Declaration

Delphi
procedure ExcludeFrameRect(const R: TRect; ALineWidth: Integer = 1; ABorders: TcxBorders = cxBordersAll);

#Parameters

Name Type
R TRect
ALineWidth Integer
ABorders TcxBorders

#Remarks

Call this procedure to exclude a thin rectangular frame from the clip region. Pass the target rectangle and its pixel width as the R and ALineWidth parameters, respectively. Additionally, you can pass a set of borders as the ABorders optional parameter to exclude only specific borders rather than a full frame.

See Also