Example





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

AnnotationResizeRotateHandlesColor Property (GdViewer)

In This Topic
Gets or sets the color that is used when drawing 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 AnnotationResizeRotateHandlesColor and the AnnotationResizeRotateHandlesScale properties.

Syntax
'Declaration
 
Public Property AnnotationResizeRotateHandlesColor As Color
public Color AnnotationResizeRotateHandlesColor {get; set;}
public read-write property AnnotationResizeRotateHandlesColor: Color; 
public function get,set AnnotationResizeRotateHandlesColor : Color
public: __property Color get_AnnotationResizeRotateHandlesColor();
public: __property void set_AnnotationResizeRotateHandlesColor( 
   Color value
);
public:
property Color AnnotationResizeRotateHandlesColor {
   Color get();
   void set (    Color value);
}

Property Value

The default value is Color.Navy, that is Color.FromArgb(255, 0, 0, 128).
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