Gets or sets the System.Windows.Controls.Primitives.Thumb object for all AnnEditDesigner derived classes.
public Thumb ControlPoint {get; set;}
Public Property ControlPoint As Thumb
The System.Windows.Controls.Primitives.Thumb 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.
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Private Sub AnnAutomationManager_ControlPoint(ByVal manager As AnnAutomationManager)
' Use a thumb with red brush (alpha = 128)
Dim cp As Thumb = New Thumb()
cp.BorderBrush = Brushes.Black
cp.BorderThickness = New Thickness(1.0)
cp.Background = New SolidColorBrush(Color.FromArgb(128, 255, 0, 0))
cp.Width = 12
cp.Height = 12
manager.ControlPoint = cp
' now, whenever you draw or select an object in this manager, this control point will be used
End Sub
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Demos;
using Leadtools.Help;
private void AnnAutomationManager_ControlPoint(AnnAutomationManager manager)
{
// Use a thumb with red brush (alpha = 128)
Thumb cp = new Thumb();
cp.BorderBrush = Brushes.Black;
cp.BorderThickness = new Thickness(1.0);
cp.Background = new SolidColorBrush(Color.FromArgb(128, 255, 0, 0));
cp.Width = cp.Height = 12;
manager.ControlPoint = cp;
// now, whenever you draw or select an object in this manager, this control point will be used
}
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Examples;
using Leadtools.Silverlight.Demos;
private void AnnAutomationManager_ControlPoint(AnnAutomationManager manager)
{
// Use a thumb with red brush (alpha = 128)
Thumb cp = new Thumb();
cp.BorderBrush = new SolidColorBrush(Colors.Black);
cp.BorderThickness = new Thickness(1.0);
cp.Background = new SolidColorBrush(Color.FromArgb(128, 255, 0, 0));
cp.Width = cp.Height = 12;
manager.ControlPoint = cp;
// now, whenever you draw or select an object in this manager, this control point will be used
}
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Imports Leadtools.Silverlight.Demos
Private Sub AnnAutomationManager_ControlPoint(ByVal manager As AnnAutomationManager)
' Use a thumb with red brush (alpha = 128)
Dim cp As Thumb = New Thumb()
cp.BorderBrush = New SolidColorBrush(Colors.Black)
cp.BorderThickness = New Thickness(1.0)
cp.Background = New SolidColorBrush(Color.FromArgb(128, 255, 0, 0))
cp.Width = 12
cp.Height = 12
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.Windows.Annotations |
Introduction |
Help Version 19.0.2017.3.22
|
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.