LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AutomationTransform Property
See Also 
Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationTransform Property



The AutomationTransform Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets a System.Drawing.Drawing2D.Matrix object that represents the current transformation for the annotations objects.

Syntax

Visual Basic (Declaration) 
ReadOnly Property AutomationTransform As Matrix
Visual Basic (Usage)Copy Code
Dim instance As IAnnAutomationControl
Dim value As Matrix
 
value = instance.AutomationTransform
C# 
Matrix AutomationTransform {get;}
C++/CLI 
property Matrix^ AutomationTransform {
   Matrix^ get();
}

Property Value

A System.Drawing.Drawing2D.Matrix object that represents the current transformation for the annotations objects.

Example

For an example, refer to IAnnAutomationControl.

Remarks

(Read only) A System.Drawing.Drawing2D.Matrix object that represents the current transformation for the annotations objects. This value cannot be a null reference (Nothing in Visual Basic) and the object returned will be owned by the automation object and will be disposed internally when it is no longer needed. You must set this matrix with the current scroll and zoom values of your control and set up your application to either create or return a new instance of this matrix on demand whenever this property is called. For more explanation, refer to the example source code of this class. If you will not support scrolling or zooming in your application, then simply return an identity matrix (a new System.Drawing.Drawing2D.Matrix object). You must trigger the IAnnAutomationControl.AutomationTransformChanged when the value of this property is changed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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