Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
CreateTranslateMatrix Method
See Also 
Leadtools.Annotations Namespace > AnnObject Class : CreateTranslateMatrix Method




dx
The x value of the translation.
dy
The y value of the translation.
A helper method that creates a standard translation matrix with the specified values.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateTranslateMatrix( _
   ByVal dx As Single, _
   ByVal dy As Single _
) As Matrix
Visual Basic (Usage)Copy Code
Dim dx As Single
Dim dy As Single
Dim value As Matrix
 
value = AnnObject.CreateTranslateMatrix(dx, dy)
C# 
public static Matrix CreateTranslateMatrix( 
   float dx,
   float dy
)
Managed Extensions for C++ 
public: static Matrix CreateTranslateMatrix( 
   float dx,
   float dy
) 
C++/CLI 
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 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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features