Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationTransform Property |
Matrix AutomationTransform {get;}
'Declaration ReadOnly Property AutomationTransform As Matrix
'Usage Dim instance As IAnnAutomationControl Dim value As Matrix value = instance.AutomationTransform
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.