Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
Flags Property
See Also 
Leadtools.ImageProcessing Namespace > RotateCommand Class : Flags Property




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

Visual Basic (Declaration) 
Public Property Flags As RotateCommandFlags
Visual Basic (Usage)Copy Code
Dim instance As RotateCommand
Dim value As RotateCommandFlags
 
instance.Flags = value
 
value = instance.Flags
C# 
public RotateCommandFlags Flags {get; set;}
Managed Extensions for C++ 
public: __property RotateCommandFlags get_Flags();
public: __property void set_Flags( 
   RotateCommandFlags value
);
C++/CLI 
public:
property RotateCommandFlags Flags {
   RotateCommandFlags get();
   void set (RotateCommandFlags value);
}

Return Value

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

Example

For an example, refer to RotateCommand.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also