←Select platform

GetRotationReferencePoints Method

Summary
Gets the two reference points used to keep the rotation center and gripper at an even distance when the object is moved along annotation coordinates.
Syntax
C#
Objective-C
C++/CLI
Java
Python
protected virtual LeadPointD[] GetRotationReferencePoints() 
@property (nonatomic, strong, readonly, nullable) LTLeadPointCollection *rotationReferencePoints 
protected LeadPointD[] getRotationReferencePoints() 
protected:  
   virtual array<LeadPointD^>^ GetRotationReferencePoints() 
def GetRotationReferencePoints(self): 

Return Value

The two reference points used to keep the rotation center and gripper at an even distance when the object is moved in annotation coordinates.

Remarks

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.

Requirements

Target Platforms

Help Version 23.0.2024.5.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.