LEADTOOLS WCF (Leadtools.Services.Raster.DataContracts assembly)

RasterResizeMode Enumeration

Show in webframe





Determines how to fit the image in the destination rectangle.
Syntax
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")]
public enum RasterResizeMode : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")>
Public Enum RasterResizeMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As RasterResizeMode

            

            
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")]
public enum class RasterResizeMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000NormalNormal, no sizing
0x00000001FitFit 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.
0x00000002FitAlwaysAlways fit the image into the destination rectangle while maintaining the aspect ratio even if the image size is smaller than the destination rectangle.
0x00000003FitWidthFit the image width to be the size of the width of the destination rectangle while maintaining the aspect ratio.
0x00000004StretchFit 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

See Also

Reference

Leadtools.Services.Raster.DataContracts Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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