←Select platform

AutomationTransform Property

Summary

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

Syntax

C#
VB
C++
public Matrix AutomationTransform { get; } 
  
ReadOnly Property AutomationTransform As Matrix 
property Matrix^ AutomationTransform { 
   Matrix^ get(); 
} 

Property Value

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

Remarks

A System.Drawing.Drawing2D.Matrix object that represents the current transformation for the annotations objects. This value cannot be a null reference (Nothing in VB) 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.

Example

For an example, refer to IAnnAutomationControl.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly