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



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 along with interpolation options.
fillColor
The background fill color.
Initializes a new RotateCommand with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal angle As Integer, _
   ByVal flags As RotateCommandFlags, _
   ByVal fillColor As Color _
)
Visual Basic (Usage)Copy Code
Dim angle As Integer
Dim flags As RotateCommandFlags
Dim fillColor As Color
 
Dim instance As RotateCommand(angle, flags, fillColor)
C# 
public RotateCommand( 
   int angle,
   RotateCommandFlags flags,
   Color fillColor
)
C++/CLI 
public:
RotateCommand( 
   int angle,
   RotateCommandFlags flags,
   Color 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 along with interpolation options.
fillColor
The background fill color.

Example

For an example, refer to RotateCommand.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also