Gets or sets the AnnPen used to draw a line between the rotate control points for all AnnEditDesigner derived objects.
public Leadtools.Annotations.AnnPen RotateLinePen {get; set;}
Public Property RotateLinePen As Leadtools.Annotations.AnnPen
public:
property Leadtools.Annotations.AnnPen^ RotateLinePen {
Leadtools.Annotations.AnnPen^ get();
void set ( Leadtools.Annotations.AnnPen^ );
}
The AnnPen used to draw a line between the rotate control points.
This property gets or sets the pen that is used to draw the line that appears between the rotate control points when dragging either the center rotate control point or the gripper rotate control point.
Used when UserMode is AnnUserMode.Design.
For more information, refer to New Annotation Features of Version 14.5 (Deprecated).
This example changes the look of the rotate user interface by performing the following actions:
using Leadtools;
using Leadtools.Annotations;
using Leadtools.WinForms;
using Leadtools.Codecs;
public void AnnAutomationManager_RotateLinePen(AnnAutomationManager manager)
{
AnnPen annPen = new AnnPen(System.Drawing.Color.Red, new AnnLength(4, AnnUnit.Pixel));
manager.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);
manager.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);
manager.RotateGripperControlPoint = cpGripper;
}
Imports Leadtools
Imports Leadtools.Annotations
Imports Leadtools.WinForms
Imports Leadtools.Codecs
Public Sub AnnAutomationManager_RotateLinePen(ByVal manager As AnnAutomationManager)
Dim annPen As AnnPen = New AnnPen(System.Drawing.Color.Red, New AnnLength(4, AnnUnit.Pixel))
manager.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)
manager.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)
manager.RotateGripperControlPoint = cpGripper
End Sub
UseRotateControlPoints Property
RotateCenterControlPointCursor Property
RotateCenterControlPoint Property
![]() |
Products |
Support |
Feedback: RotateLinePen Property (AnnAutomationManager) - Leadtools.Annotations |
Introduction |
Help Version 19.0.2017.6.20
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.