←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
Objective-C
C++
Java
public RotateCommandFlags Flags { get; set; } 
Public Property Flags As RotateCommandFlags 
@property (nonatomic, assign) LTRotateCommandFlags flags 
public int getFlags() 
public void setFlags(int value) 
public: 
property RotateCommandFlags Flags { 
   RotateCommandFlags get(); 
   void set (    RotateCommandFlags ); 
} 

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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.