Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Designers Assembly > Leadtools.Annotations.Designers Namespace > AnnEditDesigner Class : GetRotationReferencePoints Method |
protected virtual LeadPointD[] GetRotationReferencePoints()
'Declaration
Protected Overridable Function GetRotationReferencePoints() As LeadPointD()
'Usage
Dim instance As AnnEditDesigner Dim value() As LeadPointD value = instance.GetRotationReferencePoints()
protected virtual LeadPointD[] GetRotationReferencePoints()
@property (nonatomic, strong, readonly, nullable) LTLeadPointCollection *rotationReferencePoints
protected LeadPointD[] getRotationReferencePoints()
function Leadtools.Annotations.Designers.AnnEditDesigner.GetRotationReferencePoints()
By default, the AnnEditDesigner returns the first two points found in the AnnObject.Points collection of the TargetObject. The designer then uses these reference points to keep the rotate center and gripper at an even distance when the object is moved.
Derived classes can override GetRotationReferencePoints to return any two points to use as the reference points. Usually these are the points at the "top-left" and "bottom-right" edge of the object.
For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations