LEADTOOLS Annotations (Leadtools.Annotations assembly)

CreateTranslateMatrix Method

Show in webframe





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
) 

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

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.