LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

CreateTranslateMatrix Method






The x value of the translation.
The y value of the translation.
A helper method that creates a standard translation matrix with the specified values.
Syntax
public static Matrix CreateTranslateMatrix( 
   float dx,
   float dy
)
'Declaration
 
Public Shared Function CreateTranslateMatrix( _
   ByVal dx As Single, _
   ByVal dy As Single _
) As Matrix
'Usage
 
Dim dx As Single
Dim dy As Single
Dim value As Matrix
 
value = AnnObject.CreateTranslateMatrix(dx, dy)
public static Matrix CreateTranslateMatrix( 
   float dx,
   float dy
)
 function Leadtools.Annotations.AnnObject.CreateTranslateMatrix( 
   dx ,
   dy 
)
public:
static Matrix^ CreateTranslateMatrix( 
   float dx,
   float dy
) 

Parameters

dx
The x value of the translation.
dy
The y value of the translation.

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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.