Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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();
}

Return 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 AnnObject.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 AnnObject.GetTransformPoints and AnnObject.SetTransformPoints to transform the points individually and keep the AnnObject.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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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