←Select platform

RotateCommand Constructor(Int32,RotateCommandFlags,RasterColor)

Summary

Initializes a new instance of the RotateCommand class with explicit parameters.

Syntax

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize