Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TransformObjectMode Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnObjectBase Class : TransformObjectMode Property





Gets a value that determines how to transform this AnnObjectBase 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 AnnObjectBase
Dim value As AnnTransformObjectMode
 
value = instance.TransformObjectMode
C# 
public virtual AnnTransformObjectMode TransformObjectMode {get;}
C++/CLI 
public:
virtual property AnnTransformObjectMode TransformObjectMode {
   AnnTransformObjectMode get();
}
XAML Syntax 
You cannot use this property in XAML.
XAML Syntax 
You cannot use this property in XAML.

Return Value

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

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

TransformObjectMode requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.