Leadtools.Services.ImageProcessing.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Flags Property
See Also 
Leadtools.Services.ImageProcessing.DataContracts Namespace > RotateRequest 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) 
<DataMemberAttribute(Name="Flags", IsRequired=True)>
Public Property Flags As RotateCommandFlags
Visual Basic (Usage)Copy Code
Dim instance As RotateRequest
Dim value As RotateCommandFlags
 
instance.Flags = value
 
value = instance.Flags
C# 
[DataMemberAttribute(Name="Flags", IsRequired=true)]
public RotateCommandFlags Flags {get; set;}
C++/CLI 
[DataMemberAttribute(Name="Flags", IsRequired=true)]
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.

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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features