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.FrameRegion(TcxRegionHandle,TColor,Integer,Integer) Method

Draws an outline of the specified region on the canvas.

#Declaration

Delphi
procedure FrameRegion(ARegion: TcxRegionHandle; AColor: TColor = clDefault; ABorderWidth: Integer = 1; ABorderHeight: Integer = 1); overload;

#Parameters

Name Type
ARegion TcxRegionHandle
AColor TColor
ABorderWidth Integer
ABorderHeight Integer

#Remarks

Call either of these overloaded procedures to outline a simple or complex region on the canvas. Pass an outline color as the AColor parameter. Additionally, you can use the optional ABorderWidth and ABorderHeight parameters to adjust the pixel width and height of the vertical and horizontal brush strokes, respectively.

The first FillRegion procedure variant accepts a target region as the ARegion parameter while the second variant accepts a handle to the target region.

See Also