LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

RasterSizeFlags Enumeration






Flags which control the behaviour of image resize methods. .NET support Silverlight support WinRT support
Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum RasterSizeFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As RasterSizeFlags
Leadtools.RasterSizeFlags = function() { };
Leadtools.RasterSizeFlags.prototype = {
LeadtoolsMemberMarker(replace me) };
[FlagsAttribute()]
public enum class RasterSizeFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
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
ScaleToGray

(Document/Medical only). Use interpolation to display black and white images using shades of gray when the image is resized. This improves the readability when the image is scaled up or down. The generated image is 8-bit grayscale, so this option should be used only for black and white images.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterSizeFlags

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Leadtools Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.