Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
HighQualityRotateCommand Constructor(Int32,HighQualityRotateCommandFlags,RasterColor)
See Also 
Leadtools.ImageProcessing.Core Namespace > HighQualityRotateCommand Class > HighQualityRotateCommand Constructor : HighQualityRotateCommand Constructor(Int32,HighQualityRotateCommandFlags,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
Options to keep the resulting image the same size as the original image, or to resize according to the rotation direction specified, as well controlling the quality of the rotation.
fillColor
The background fill color. This parameter is used only when HighQualityRotateCommandFlags.Resize is specified in flags.
Initializes a new HighQualityRotateCommand class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal angle As Integer, _
   ByVal flags As HighQualityRotateCommandFlags, _
   ByVal fillColor As RasterColor _
)
Visual Basic (Usage)Copy Code
Dim angle As Integer
Dim flags As HighQualityRotateCommandFlags
Dim fillColor As RasterColor
 
Dim instance As HighQualityRotateCommand(angle, flags, fillColor)
C# 
public HighQualityRotateCommand( 
   int angle,
   HighQualityRotateCommandFlags flags,
   RasterColor fillColor
)
C++/CLI 
public:
HighQualityRotateCommand( 
   int angle,
   HighQualityRotateCommandFlags 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
Options to keep the resulting image the same size as the original image, or to resize according to the rotation direction specified, as well controlling the quality of the rotation.
fillColor
The background fill color. This parameter is used only when HighQualityRotateCommandFlags.Resize is specified in flags.

Example

For an example, refer to HighQualityRotateCommand.

Remarks

You can also use the default constructor of the HighQualityRotateCommand class and set the options using the Angle, Flags and FillColor properties.

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