Resets the rotate control points of the selected
AnnObject to their default location.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Sub ResetRotatePoints() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AnnAutomation
instance.ResetRotatePoints()
|
C# | |
---|
public virtual void ResetRotatePoints() |
Managed Extensions for C++ | |
---|
public: virtual void ResetRotatePoints(); |
C++/CLI | |
---|
public:
virtual void ResetRotatePoints(); |
Example
<p>This example determines if the rotate control points can be reset to the default location.</p>
<p>For <see cref="CanResetRotatePoints"/> to be true the following must hold:</p>
<list type="number">
<item><description>An AnnObject must be selected and </description></item>
<item><description>UseRotateControlPoints must be true</description></item>
</list>
Visual Basic | Copy Code |
---|
Public 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 |
C# | Copy Code |
---|
public void AnnAutomation_ResetRotatePoints(AnnAutomation automation) { if (automation.CanResetRotatePoints) automation.ResetRotatePoints(); else MessageBox.Show("The rotate control points cannot be reset!"); } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also