LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

HighQualityRotateCommand Constructor(Int32,HighQualityRotateCommandFlags,RasterColor)






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.
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.
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. .NET support WinRT support Silverlight support
Syntax
public HighQualityRotateCommand( 
   int angle,
   HighQualityRotateCommandFlags flags,
   RasterColor fillColor
)
'Declaration
 
Public Function New( _
   ByVal angle As Integer, _
   ByVal flags As HighQualityRotateCommandFlags, _
   ByVal fillColor As RasterColor _
)
'Usage
 
Dim angle As Integer
Dim flags As HighQualityRotateCommandFlags
Dim fillColor As RasterColor
 
Dim instance As New HighQualityRotateCommand(angle, flags, fillColor)
public HighQualityRotateCommand( 
   int angle,
   HighQualityRotateCommandFlags flags,
   RasterColor fillColor
)
function HighQualityRotateCommand( 
   angle ,
   flags ,
   fillColor 
)
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.
Remarks

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

Example
For an example, refer to HighQualityRotateCommand.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HighQualityRotateCommand Class
HighQualityRotateCommand Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.