←Select platform

RotateCommand Constructor(int,RotateCommandFlags,RasterColor)

Summary

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

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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly