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.(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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)