- angle
- The angle (extent) of the rotation in degrees.
- origin
- An AnnPoint structure that represents the center of the rotation.
- unitConverter
- An AnnUnitConverter object that can be used to convert the origin point from one unit to another (usually to pixels).
Visual Basic (Declaration) | |
---|---|
Public Shared Function CreateRotateMatrix( _ ByVal angle As Single, _ ByVal origin As AnnPoint, _ ByVal unitConverter As AnnUnitConverter _ ) As Matrix |
Visual Basic (Usage) | Copy Code |
---|---|
Dim angle As Single Dim origin As AnnPoint Dim unitConverter As AnnUnitConverter Dim value As Matrix value = AnnObject.CreateRotateMatrix(angle, origin, unitConverter) |
C# | |
---|---|
public static Matrix CreateRotateMatrix( float angle, AnnPoint origin, AnnUnitConverter unitConverter ) |
C++/CLI | |
---|---|
public: static Matrix^ CreateRotateMatrix( float angle, AnnPoint origin, AnnUnitConverter^ unitConverter ) |
Parameters
- angle
- The angle (extent) of the rotation in degrees.
- origin
- An AnnPoint structure that represents the center of the rotation.
- 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.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
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7