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



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

Determines how to fit the image in the destination rectangle.

Syntax

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

Members

MemberDescription
FitFit the image into the destination rectangle while maintaining the aspect ratio. If the image size is smaller than the destination rectangle, no resizing is done.
FitAlwaysAlways fit the image into the destination rectangle while maintaining the aspect ratio even if the image size is smaller than the destination rectangle.
FitWidthFit the image width to be the size of the width of the destination rectangle while maintaining the aspect ratio.
NormalNormal, no sizing
StretchFit the image to fill the destination rectangle. Aspect ratio might not be maintained.

Inheritance Hierarchy

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

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