ImageEn, unit imageenview

TImageEnView.GetSelectionGripStyle

TImageEnView.GetSelectionGripStyle


Declaration

procedure GetSelectionGripStyle(out BorderColor: TColor; out FillColor: TColor; out BrushStyle: TBrushStyle; out Size: integer; out ExtendedGrips: boolean; out Shape: TIEShape); overload;
procedure GetSelectionGripStyle(out GripStyle: TIEGripStyle; out ExtendedGrips: boolean); overload;
function GetSelectionGripStyle(): TIEGripStyle; overload;


Description

Returns properties for the appearance of selection grips.
Parameter Description Default
BorderColor Grip border color clBlack
FillColor Grip brush color $9DF5FF - Pale Yellow
BrushStyle Grip Brush style bsSolid
Size Radius of the grip in pixels 5
ExtendedGrips If true, side grips are drawn for rectangular selections (instead of just corner grips) and corner grips are drawn for elliptical and polygonal selections (instead of just side grips) true
Shape Shape of grip iesEllipse

Use SetSelectionGripStyle to set current values.


See Also

SelColor1
SelColor2


Compatibility Notes

From v14.0.0, grip shapes are of the type TIEShape, whereas previously they were a TIEGripShape. You should change iegsCircle to iesEllipse and iegsBox to iesRectangle.