←Select platform

Flags Property (RotateCommand)

Summary

Gets or sets the flag to keep the resulting image the same size as the original image or to resize according to the rotation direction specified.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
@property (nonatomic, assign) LTRotateCommandFlags flags 
public int getFlags() 
public void setFlags(int value) 
             
  
get_Flags(); 
set_Flags(value); 
Object.defineProperty('Flags');  

Property Value

Flag to keep the resulting image the same size as the original image or to resize according to the rotation direction specified.

Remarks

RotateCommandFlags.Resample and RotateCommandFlags..Bicubic can be combined with RotateCommandFlags.Resize, but they can not be combined with each other. Therefore, you can pass RotateCommandFlags.Resample Or RotateCommandFlags.Resize, but not RotateCommandFlags.Resample | RotateCommandFlags..Bicubic.

If RotateCommandFlags.Resize is set, then the image is resized. Otherwise, the image is cropped.

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