LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
TransformMode Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnObject Class : TransformMode Property



Gets a value that determines how to transform this AnnObject when any object transformation method is called. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

An AnnTransformMode 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 AnnTransformMode.Auto for automatic transformation. In this mode, the System.Windows.UIElement.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 AnnTransformMode.Points. In this case the annotation toolkit will call GetTransformPoints and SetTransformPoints to transform the points individually and keep the System.Windows.UIElement.RenderTransform transform an identity transform at all times.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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