Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property virtual AnnTransformObjectMode get_TransformObjectMode();
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 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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