←Select platform

UseRotateControlPoints Property

Summary

Gets or sets the use of rotate control points of this AnnEditDesigner.

Syntax

C#
VB
C++
public bool UseRotateControlPoints { get; set; } 
  
Public Property UseRotateControlPoints As Boolean 
public: 
property bool UseRotateControlPoints { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true if using rotate control points for AnnObject rotation; false otherwise.

Remarks

For more control over rotating an AnnObject or a AnnGroupObject in design mode with an AnnEditDesigner, set this property to true. This allows the user to precisely control the rotate center, as well as the rotate angle, by moving the rotate control points. Setting this property to false uses the keyboard rotate user interface. For more information, refer to WPF Annotation Rotation Options.

Example

This example toggles the use of the rotate control points.

C#
VB
Silverlight C#
Silverlight VB
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Demos; 
using Leadtools.Help; 
 
public void AnnEditDesigner_UseRotateControlPoints(AnnEditDesigner editDesigner) 
{ 
   editDesigner.UseRotateControlPoints = !editDesigner.UseRotateControlPoints; 
   string s = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints); 
   MessageBox.Show(s); 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
Public Sub AnnEditDesigner_UseRotateControlPoints(ByVal editDesigner As AnnEditDesigner) 
   editDesigner.UseRotateControlPoints = Not editDesigner.UseRotateControlPoints 
   Dim s As String = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints) 
   MessageBox.Show(s) 
End Sub 
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Examples; 
//using Leadtools.Help; 
 
public void AnnEditDesigner_UseRotateControlPoints(AnnEditDesigner editDesigner) 
{ 
   editDesigner.UseRotateControlPoints = !editDesigner.UseRotateControlPoints; 
   string s = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints); 
   MessageBox.Show(s); 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
Public Sub AnnEditDesigner_UseRotateControlPoints(ByVal editDesigner As AnnEditDesigner) 
   editDesigner.UseRotateControlPoints = Not editDesigner.UseRotateControlPoints 
   Dim s As String = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints) 
   MessageBox.Show(s) 
End Sub 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly