Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RotateCommand Constructor(Int32,RotateCommandFlags,RasterColor)
See Also 
Leadtools.ImageProcessing Namespace > RotateCommand Class > RotateCommand Constructor : RotateCommand Constructor(Int32,RotateCommandFlags,RasterColor)



angle
Hundredths of degrees to rotate (+/-). This can be a number from 1 to 36,000. A positive value will rotate the image in a clockwise rotation, while a negative value will rotate the image in a counter-clockwise rotation.
flags
Flag to keep the resulting image the same size as the original image or to resize according to the rotation direction specified.
fillColor
The background fill color.
Initializes a new instance of the RotateCommand class with explicit parameters.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal angle As Integer, _
   ByVal flags As RotateCommandFlags, _
   ByVal fillColor As RasterColor _
)
Visual Basic (Usage) Copy Code
Dim angle As Integer
Dim flags As RotateCommandFlags
Dim fillColor As RasterColor
 
Dim instance As RotateCommand(angle, flags, fillColor)
C#  
public RotateCommand( 
   int angle,
   RotateCommandFlags flags,
   RasterColor fillColor
)
C++/CLI  
public:
RotateCommand( 
   int angle,
   RotateCommandFlags flags,
   RasterColor fillColor
)

Parameters

angle
Hundredths of degrees to rotate (+/-). This can be a number from 1 to 36,000. A positive value will rotate the image in a clockwise rotation, while a negative value will rotate the image in a counter-clockwise rotation.
flags
Flag to keep the resulting image the same size as the original image or to resize according to the rotation direction specified.
fillColor
The background fill color.

Example

For an example, refer to RotateCommand.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also