←Select platform

HighQualityRotateCommand Constructor(int,HighQualityRotateCommandFlags,RasterColor)

Summary

Initializes a new HighQualityRotateCommand class object with explicit parameters.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
Public Function New( _ 
   ByVal angle As Integer, _ 
   ByVal flags As Leadtools.Imageprocessing.Core.HighQualityRotateCommandFlags, _ 
   ByVal fillColor As Leadtools.RasterColor _ 
) 
- (instancetype)initWithAngle:(NSInteger)angle 
                        flags:(LTHighQualityRotateCommandFlags)flags 
                    fillColor:(LTRasterColor*)fillColor 
             
public HighQualityRotateCommand( 
   int angle,  
   int flags,  
   RasterColor fillColor 
) 
             
function HighQualityRotateCommand(  
   angle , 
   flags , 
   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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly