LEADTOOLS WCF (Leadtools.Services.Raster.DataContracts assembly)
LEAD Technologies, Inc

RasterResizeMode Enumeration






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 RasterResizeMode : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.Services.Raster.DataContracts.RasterResizeMode = function() { };
Leadtools.Services.Raster.DataContracts.RasterResizeMode.prototype = {
LeadtoolsMemberMarker(replace me) };
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")]
public enum class RasterResizeMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
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: 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.Services.Raster.DataContracts Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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