LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

RotateGripperControlPoint Property (AnnEditDesigner)

Example 





Gets or sets the AnnControlPoint object for the rotate gripper control point for this AnnEditDesigner.
Syntax
public virtual AnnControlPoint RotateGripperControlPoint {get; set;}
'Declaration
 
Public Overridable Property RotateGripperControlPoint As AnnControlPoint
'Usage
 
Dim instance As AnnEditDesigner
Dim value As AnnControlPoint
 
instance.RotateGripperControlPoint = value
 
value = instance.RotateGripperControlPoint
public virtual AnnControlPoint RotateGripperControlPoint {get; set;}
 get_RotateGripperControlPoint();
set_RotateGripperControlPoint(value);
public:
virtual property AnnControlPoint^ RotateGripperControlPoint {
   AnnControlPoint^ get();
   void set (    AnnControlPoint^ value);
}

Property Value

The AnnControlPoint object used for displaying the rotate gripper control point for this AnnEditDesigner.
Remarks
For more information, refer to New Annotation Features of Version 14.5.
Example
 
Public Sub AnnEditDesigner_RotateGripperControlPoint(ByVal editDesigner As AnnEditDesigner)
   Dim annPen As AnnPen = New AnnPen(System.Drawing.Color.Red, New AnnLength(4, AnnUnit.Pixel))
   editDesigner.RotateLinePen = annPen
   Dim cpCenter As AnnEllipseControlPoint = New AnnEllipseControlPoint()
   cpCenter.Pen = New AnnPen(Color.Black, New AnnLength(1, AnnUnit.Pixel))
   cpCenter.Brush = New AnnSolidBrush(Color.FromArgb(128, 255, 0, 0))
   cpCenter.Size = New AnnSize(12, 12, AnnUnit.Pixel)
   editDesigner.RotateCenterControlPoint = cpCenter

   Dim cpGripper As AnnRectangleControlPoint = New AnnRectangleControlPoint()
   cpGripper.Pen = New AnnPen(Color.Blue, New AnnLength(3, AnnUnit.Pixel))
   cpGripper.Brush = New AnnSolidBrush(Color.Yellow)
   cpGripper.Size = New AnnSize(8, 8, AnnUnit.Pixel)
   editDesigner.RotateGripperControlPoint = cpGripper
End Sub
public void AnnEditDesigner_RotateGripperControlPoint(AnnEditDesigner editDesigner)
{
   AnnPen annPen = new AnnPen(System.Drawing.Color.Red, new AnnLength(4, AnnUnit.Pixel));
   editDesigner.RotateLinePen = annPen;
   AnnEllipseControlPoint cpCenter = new AnnEllipseControlPoint();
   cpCenter.Pen = new AnnPen(Color.Black, new AnnLength(1, AnnUnit.Pixel));
   cpCenter.Brush = new AnnSolidBrush(Color.FromArgb(128, 255, 0, 0));
   cpCenter.Size = new AnnSize(12, 12, AnnUnit.Pixel);
   editDesigner.RotateCenterControlPoint = cpCenter;

   AnnRectangleControlPoint cpGripper = new AnnRectangleControlPoint();
   cpGripper.Pen = new AnnPen(Color.Blue, new AnnLength(3, AnnUnit.Pixel));
   cpGripper.Brush = new AnnSolidBrush(Color.Yellow);
   cpGripper.Size = new AnnSize(8, 8, AnnUnit.Pixel);
   editDesigner.RotateGripperControlPoint = cpGripper;
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnEditDesigner Class
AnnEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.