←Select platform

Transform Property

Summary

Gets the current transformation matrix used for displaying the image.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual Matrix Transform {get;} 
Public Overridable ReadOnly Property Transform As Matrix 
public virtual Matrix Transform {get;} 
@property (nonatomic, assign, readonly) CGAffineTransform internalTransform 
 
macOS Only (flipped around Y Axis) 
@property (nonatomic, assign, readonly) CGAffineTransform internalTransform_osx //Bottom-Left 
public Matrix getTransform() 
 get_Transform();  

Property Value

The current transformation matrix.

Remarks

The image viewer will use this Transform when drawing on the canvas. The value of this matrix is re-calculated and maintained whenever the TransformChanged event occurs.

Setting a new image, zooming in and applying an effect are all actions that will cause the viewer re-calculate the transformation matrix (Transform) and call OnTransformChanged. This method will call Invalidate and cause the viewer to transition to an invalid state and will require rendering. Invalidate can also be called manually by the user to trigger the viewer to render.

Requirements

Target Platforms

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

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)