Gets or sets the AnnControlPoint object for all AnnEditDesigner derived classes.
public Leadtools.Annotations.AnnControlPoint ControlPoint {get; set;}
Public Property ControlPoint As Leadtools.Annotations.AnnControlPoint
public:
property Leadtools.Annotations.AnnControlPoint^ ControlPoint {
Leadtools.Annotations.AnnControlPoint^ get();
void set ( Leadtools.Annotations.AnnControlPoint^ );
}
The AnnControlPoint object for all AnnEditDesigner derived classes.
When the automation framework uses reflection to create any of the AnnAutomationObject.EditDesignerType, it will use this value in the created AnnEditDesigner.AnnEditDesigner.ControlPoints collection.
using Leadtools;
using Leadtools.Annotations;
using Leadtools.WinForms;
using Leadtools.Codecs;
public void AnnAutomationManager_ControlPoint(AnnAutomationManager manager)
{
// Use an ellipse control point with red brush (alpha = 128)
AnnEllipseControlPoint cp = new AnnEllipseControlPoint();
cp.Pen = new AnnPen(Color.Black, new AnnLength(1, AnnUnit.Pixel));
cp.Brush = new AnnSolidBrush(Color.FromArgb(128, 255, 0, 0));
cp.Size = new AnnSize(12, 12, AnnUnit.Pixel);
manager.ControlPoint = cp;
// now, whenever you draw or select an object in this manager, this control point will be used
}
Imports Leadtools
Imports Leadtools.Annotations
Imports Leadtools.WinForms
Imports Leadtools.Codecs
Public Sub AnnAutomationManager_ControlPoint(ByVal manager As AnnAutomationManager)
' Use an ellipse control point with red brush (alpha = 128)
Dim cp As AnnEllipseControlPoint = New AnnEllipseControlPoint()
cp.Pen = New AnnPen(Color.Black, New AnnLength(1, AnnUnit.Pixel))
cp.Brush = New AnnSolidBrush(Color.FromArgb(128, 255, 0, 0))
cp.Size = New AnnSize(12, 12, AnnUnit.Pixel)
manager.ControlPoint = cp
' now, whenever you draw or select an object in this manager, this control point will be used
End Sub
Products |
Support |
Feedback: ControlPoint Property - 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.