←Select platform

CreateTranslateMatrix Method

Summary

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

Syntax

C#
VB
C++
public static Matrix CreateTranslateMatrix(  
   float dx, 
   float dy 
) 
  
Public Shared Function CreateTranslateMatrix( _ 
   ByVal dx As Single, _ 
   ByVal dy As Single _ 
) As Matrix 
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 (Deprecated)

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations Assembly
Click or drag to resize