LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
TransformObjectMode Property
See Also 
Leadtools.Annotations Namespace > AnnObject Class : TransformObjectMode Property



Gets a value that determines how to transform this AnnObject when any object transformation method is called.

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property TransformObjectMode As AnnTransformObjectMode
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
Dim value As AnnTransformObjectMode
 
value = instance.TransformObjectMode
C# 
public virtual AnnTransformObjectMode TransformObjectMode {get;}
C++/CLI 
public:
virtual property AnnTransformObjectMode TransformObjectMode {
   AnnTransformObjectMode get();
}

Property Value

An AnnTransformObjectMode value that specifies how to transform this AnnObject when any object transformation method is called.

Remarks

(Read only) Derived annotation objects can control how the various transformation operations are handled for this AnnObject. Most objects use AnnTransformObjectMode.Auto for automatic transformation. In this mode, the Transform matrix is changed whenever any transformation method is called. If a derived object does not support a certain transformation (for example, the AnnEncryptObject does not support rotation), it can override this property to return AnnTransformObjectMode.Points. In this case the annotation toolkit will call GetTransformPoints and SetTransformPoints to transform the points individually and keep the Transform matrix an identity matrix at all times. For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features