GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / AnnotationResizeRotateHandlesScale Property
Example





In This Topic
AnnotationResizeRotateHandlesScale Property (GdViewer)
In This Topic
Gets or sets a factor that is used to scale (enlarge or reduce) the size of the resizing and rotating handles when selecting GdPicture XMP annotations. This value is common for all annotations.

The handles are displayed as visible dots (round marks) respecting both the AnnotationResizeRotateHandlesScale and the AnnotationResizeRotateHandlesColor properties.

Syntax
'Declaration
 
Public Property AnnotationResizeRotateHandlesScale As Single
public float AnnotationResizeRotateHandlesScale {get; set;}
public read-write property AnnotationResizeRotateHandlesScale: Single; 
public function get,set AnnotationResizeRotateHandlesScale : float
public: __property float get_AnnotationResizeRotateHandlesScale();
public: __property void set_AnnotationResizeRotateHandlesScale( 
   float value
);
public:
property float AnnotationResizeRotateHandlesScale {
   float get();
   void set (    float value);
}

Property Value

The default value is 1.
Example
How to change the properties of the control's resizing and rotating handles.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.AnnotationResizeRotateHandlesColor = Color.FromArgb(255, 255, 127, 80)
GdViewer1.AnnotationResizeRotateHandlesScale = 0.5F
GdViewer1.AnnotationSelectionLineColor = Color.FromArgb(255, 0, 0, 255)
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.AnnotationResizeRotateHandlesColor = Color.FromArgb(255, 255, 127, 80);
GdViewer1.AnnotationResizeRotateHandlesScale = 0.5f;
GdViewer1.AnnotationSelectionLineColor = Color.FromArgb(255, 0, 0, 255);
See Also