LEADTOOLS Winrt (Leadtools.Annotations.Designers)
LEAD Technologies, Inc

GetRotationReferencePoints Method (AnnEditDesigner)


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. WinRT support
Syntax
protected virtual LeadPointD[] GetRotationReferencePoints()
 function Leadtools.Annotations.Designers.AnnEditDesigner.GetRotationReferencePoints()

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 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.

Example

For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnEditDesigner Class
AnnEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.