Example





In This Topic
GdPicture14.WPF Namespace / GdViewer Class / AnnotationResizeRotateHandlesScale Property

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 of the 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