| Visual Basic (Declaration) | |
|---|---|
<FlagsAttribute()> Public Enum RotateCommandFlags Inherits Enum  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
[FlagsAttribute()] public enum RotateCommandFlags : Enum  | |
| C++/CLI | |
|---|---|
[FlagsAttribute()] public enum class RotateCommandFlags : public Enum  | |
| Member | Description | 
|---|---|
| None | Default, do not resize the image, crop it. | 
| Resize | Size resulting image as needed. | 
| Resample | Perform bilinear interpolation when rotating. | 
| Bicubic | Perform bicubic interpolation when rotating. | 
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.
System.Object
   System.ValueType
      System.Enum
         Leadtools.ImageProcessing.RotateCommandFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family