←Select platform

GetTransform Method

Summary

Gets the current transformation matrix used for displaying the image with or without DPI scaling.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual Leadtools.LeadMatrix GetTransform(  
   bool useDpi 
) 
Public Overridable Function GetTransform( _ 
   ByVal useDpi As Boolean _ 
) As Leadtools.LeadMatrix 
public virtual Leadtools.LeadMatrix GetTransform(  
   bool useDpi 
) 
- (CGAffineTransform)getTransform:(BOOL)useDpi 
public Matrix getTransform(boolean useDpi) 
 function Leadtools.Controls.ImageViewer.GetTransform(  
   useDpi  
) 

Parameters

useDpi
true to get the transformation matrix with DPI scaling; otherwise, it is false.

Return Value

The current transformation matrix with or without DPI scaling.

Remarks

If the value of useDpi is true, then this method will return the same matrix as the Transform property.

If the value of useDpi is false, then this method will return the transformation matrix as if the value of UseDpi was false as well.

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)