T O P I C R E V I E W |
gcsoft |
Posted - Aug 10 2012 : 07:21:28 can i define the grip style of a selection? Similar to SetLayersGripStyle method. I would like to replace with the box style, instead of the circle.
Thanks
Gregorio Carabino software developer http://www.gcsoft.it |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Aug 11 2012 : 03:26:59 Hi Gregorio
Please see IEViewer.ObjGripShape:
http://www.imageen.com/ievolutionhelp/html/bb76e695-ee8c-b796-f179-c4e813b48d7f.htm
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
gcsoft |
Posted - Aug 10 2012 : 23:34:17 I have a .NET version; the methods 'GetSelectionGripStyle' and 'SetSelectionGripStyle' doesn't exist.
Gregorio Carabino software developer http://www.gcsoft.it |
w2m |
Posted - Aug 10 2012 : 08:07:19 Use GetSelectionGripStyle and SetSelectionGripStyle TImageEnView.GetSelectionGripStyle
Declaration
procedure GetSelectionGripStyle(var GripColor1:TColor; var GripColor2: TColor; var GripBrushStyle: TBrushStyle; var GripSize: integer; var ExtendedGrips: boolean; var Shape:TIEGripShape);
Description
GetSelectionGripStyle returns properties which determines the appearance of selection grips.
Parameter Description GripColor1 grip border color (default clBlack) GripColor2 grip brush color (default clWhite) GripBrushStyle brush style (default bsSolid) GripSize size in pixels of the grip (default 5) ExtendedGrips if true enables grips on border with 8 resizing grips (deault false) Shape specifies the grip shape
Use SetSelectionGripStyle to set current values. Use TIEGripShape = iegsBox
var iGripColor1: TColor; iGripColor2: TColor; iGripBrushStyle: TBrushStyle; iGripSize: integer; iExtendedGrips: boolean; iGripShape: TIEGripShape; ... // get the default styles ImageEnView1.GetSelectionGripStyle(iGripColor1, iGripColor2, iGripBrushStyle, iGripSize, iExtendedGrips, iGripShape); // change the TIEGripShape ImageEnView1.SetSelectionGripStyle(iGripColor1, iGripColor2, iGripBrushStyle, iGripSize, iExtendedGrips, iegsBox); ...
Email: w2m@frontiernet.net EBook: http://www.imageen.com/ebook/ Apprehend: http://www.frontiernet.net/~w2m/index.html
William Miller |
|
|