←Select platform

Flags Property

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++
public RotateCommandFlags Flags { get; set; } 
@property (nonatomic, assign) LTRotateCommandFlags flags 
public int getFlags() 
public void setFlags(int value) 
             
 <br/>get_Flags();<br/>set_Flags(value);<br/>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

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

Leadtools Assembly