Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : RotateLinePen Property |
public Color RotateLinePen {get; set;}
'Declaration Public Property RotateLinePen As Color
'Usage Dim instance As AnnAutomationManager Dim value As Color instance.RotateLinePen = value value = instance.RotateLinePen
public Color RotateLinePen {get; set;}
get_RotateLinePen();
set_RotateLinePen(value);
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.
Private Sub AnnAutomationManager_RotateLinePen(ByVal manager As AnnAutomationManager) manager.RotateLinePen = Colors.Red Dim center As Thumb = New Thumb() center.Width = 12 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 Dim gripper As Thumb = New Thumb() gripper.Background = Brushes.Yellow gripper.BorderBrush = Brushes.Blue gripper.BorderThickness = New Thickness(3.0) gripper.Width = 8 gripper.Height = 8 manager.RotateGripperControlPoint = gripper End Sub
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; }
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; }
Private Sub AnnAutomationManager_RotateLinePen(ByVal manager As AnnAutomationManager) manager.RotateLinePen = Colors.Red Dim center As Thumb = New Thumb() center.Width = 12 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 Dim 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 = 8 gripper.Height = 8 manager.RotateGripperControlPoint = gripper End Sub
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