Gets or sets the System.Windows.Media.Color used to draw a line between the rotate control points for all AnnEditDesigner derived objects.
public Color RotateLinePen {get; set;}Public Property RotateLinePen As ColorThe System.Windows.Media.Color 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 WPF Annotation Rotation Options.
This example changes the look of the rotate user interface by performing the following actions:
Imports Leadtools.Windows.ControlsImports Leadtools.Windows.AnnotationsPrivate Sub AnnAutomationManager_RotateLinePen(ByVal manager As AnnAutomationManager)manager.RotateLinePen = Colors.RedDim center As Thumb = New Thumb()center.Width = 12center.Height = 12center.Background = New SolidColorBrush(Color.FromArgb(128, 255, 0, 0))center.BorderBrush = Brushes.Blackcenter.BorderThickness = New Thickness(1.0)manager.RotateCenterControlPoint = centerDim gripper As Thumb = New Thumb()gripper.Background = Brushes.Yellowgripper.BorderBrush = Brushes.Bluegripper.BorderThickness = New Thickness(3.0)gripper.Width = 8gripper.Height = 8manager.RotateGripperControlPoint = gripperEnd Sub
using Leadtools.Windows.Controls;using Leadtools.Windows.Annotations;using Leadtools.Demos;using Leadtools.Help;private void AnnAutomationManager_RotateLinePen(AnnAutomationManager manager){manager.RotateLinePen = Colors.Red;Thumb center = new Thumb();center.Width = center.Height = 12;center.Background = new SolidColorBrush(Color.FromArgb(128, 255, 0, 0));center.BorderBrush = Brushes.Black;center.BorderThickness = new Thickness(1.0);manager.RotateCenterControlPoint = center;Thumb gripper = new Thumb();gripper.Background = Brushes.Yellow;gripper.BorderBrush = Brushes.Blue;gripper.BorderThickness = new Thickness(3.0);gripper.Width = gripper.Height = 8;manager.RotateGripperControlPoint = gripper;}
using Leadtools.Windows.Controls;using Leadtools.Windows.Annotations;using Leadtools.Examples;using Leadtools.Silverlight.Demos;private void AnnAutomationManager_RotateLinePen(AnnAutomationManager manager){manager.RotateLinePen = Colors.Red;Thumb center = new Thumb();center.Width = center.Height = 12;center.Background = new SolidColorBrush(Color.FromArgb(128, 255, 0, 0));center.BorderBrush = new SolidColorBrush(Colors.Black);center.BorderThickness = new Thickness(1.0);manager.RotateCenterControlPoint = center;Thumb gripper = new Thumb();gripper.Background = new SolidColorBrush(Color.FromArgb(255, 128,128,0));gripper.BorderBrush = new SolidColorBrush(Colors.Blue);gripper.BorderThickness = new Thickness(3.0);gripper.Width = gripper.Height = 8;manager.RotateGripperControlPoint = gripper;}
Imports Leadtools.Windows.ControlsImports Leadtools.Windows.AnnotationsImports Leadtools.Silverlight.DemosPrivate Sub AnnAutomationManager_RotateLinePen(ByVal manager As AnnAutomationManager)manager.RotateLinePen = Colors.RedDim center As Thumb = New Thumb()center.Width = 12center.Height = 12center.Background = New SolidColorBrush(Color.FromArgb(128, 255, 0, 0))center.BorderBrush = New SolidColorBrush(Colors.Black)center.BorderThickness = New Thickness(1.0)manager.RotateCenterControlPoint = centerDim gripper As Thumb = New Thumb()gripper.Background = New SolidColorBrush(Color.FromArgb(255, 128,128,0))gripper.BorderBrush = New SolidColorBrush(Colors.Blue)gripper.BorderThickness = New Thickness(3.0)gripper.Width = 8gripper.Height = 8manager.RotateGripperControlPoint = gripperEnd Sub
|
Products |
Support |
Feedback: RotateLinePen 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.