←Select platform

CreateScaleMatrix Method

Summary

A helper method that creates a standard scale matrix with the specified values.

Syntax

C#
VB
C++
public static Matrix CreateScaleMatrix( 
   float sx, 
   float sy, 
   AnnPoint origin, 
   AnnUnitConverter unitConverter 
) 
  
Public Shared Function CreateScaleMatrix( _ 
   ByVal sx As Single, _ 
   ByVal sy As Single, _ 
   ByVal origin As Leadtools.Annotations.AnnPoint, _ 
   ByVal unitConverter As Leadtools.Annotations.AnnUnitConverter _ 
) As Matrix 
public: 
static Matrix^ CreateScaleMatrix(  
   float sx, 
   float sy, 
   Leadtools.Annotations.AnnPoint origin, 
   Leadtools.Annotations.AnnUnitConverter^ unitConverter 
)  

Parameters

sx
The value by which to scale in the x-axis direction.

sy
The value by which to scale in the y-axis direction.

origin
An AnnPoint structure that represents the center of the scale operation

unitConverter
An AnnUnitConverter object that can be used to convert the origin point from one unit to another (usually to pixels).

Return Value

The System.Drawing.Drawing2D.Matrix that this method creates.

Remarks

This method is intended to be used by derived annotation objects that implement non-automatic transformation. For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations (Deprecated)

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

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

Leadtools.Annotations Assembly