LEADTOOLS WCF (Leadtools.Services.Raster.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RasterResizeFlags Enumeration
See Also  
Leadtools.Services.Raster.DataContracts Namespace : RasterResizeFlags Enumeration



The RasterResizeFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Controls the behavior of image resize methods.

Syntax

Visual Basic (Declaration) 
<DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeFlags")>
<FlagsAttribute()>
Public Enum RasterResizeFlags 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterResizeFlags
C# 
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeFlags")]
[FlagsAttribute()]
public enum RasterResizeFlags : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeFlags")]
[FlagsAttribute()]
public enum class RasterResizeFlags : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
BicubicUse bicubic interpolation and averaging to produce a higher quality image. This is slower than Resample.
FavorBlack

(Document/Medical only) Preserve black objects when making the image smaller. This option affects only 1-bit, black-and-white images, where it prevents the disappearance of thin lines. You can use a bitwise OR ( | ) to combine this flag with another one. For example, Resample | FavorBlack causes color images to be resampled, but applies the favor-black option to 1-bit, black-and-white images.

If you apply this flag to an image that has more than 1 bit per pixel, then the behavior is undefined.

NoneResize normally
ResampleUse linear interpolation and averaging to produce a higher-quality image.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Services.Raster.DataContracts.RasterResizeFlags

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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