Resets the rotate control points of the selected AnnObject to their default location.
public virtual void ResetRotatePoints()
Public Overridable Sub ResetRotatePoints()
public:
virtual void ResetRotatePoints();
If displaying rotate control points (see AnnEditDesigner.UseRotateControlPoints), two rotate control points are displayed for a selected AnnObject:
This method will reset the rotate control points to their default location.
Use the CanResetRotatePoints property to determine whether you can call this method.
For more information, refer to WPF Annotation Rotation Options.
This example determines if the rotate control points can be reset to the default location. For CanResetRotatePoints to be true the following must hold:
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Private Sub AnnAutomation_ResetRotatePoints(ByVal automation As AnnAutomation)
If automation.CanResetRotatePoints Then
automation.ResetRotatePoints()
Else
MessageBox.Show("The rotate control points cannot be reset!")
End If
End Sub
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Demos;
using Leadtools.Help;
private void AnnAutomation_ResetRotatePoints(AnnAutomation automation)
{
if(automation.CanResetRotatePoints)
automation.ResetRotatePoints();
else
MessageBox.Show("The rotate control points cannot be reset!");
}
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Examples;
using Leadtools.Silverlight.Demos;
private void AnnAutomation_ResetRotatePoints(AnnAutomation automation)
{
if(automation.CanResetRotatePoints)
automation.ResetRotatePoints();
else
MessageBox.Show("The rotate control points cannot be reset!");
}
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Imports Leadtools.Silverlight.Demos
Private Sub AnnAutomation_ResetRotatePoints(ByVal automation As AnnAutomation)
If automation.CanResetRotatePoints Then
automation.ResetRotatePoints()
Else
MessageBox.Show("The rotate control points cannot be reset!")
End If
End Sub
Products |
Support |
Feedback: ResetRotatePoints Method (AnnAutomation) - 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.