LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

RasterPaintSizeMode Enumeration






Determines how to fit the image in the destination rectangle. .NET support Silverlight support WinRT support
Syntax
public enum RasterPaintSizeMode : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
Public Enum RasterPaintSizeMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As RasterPaintSizeMode
public enum RasterPaintSizeMode : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.RasterPaintSizeMode = function() { };
Leadtools.RasterPaintSizeMode.prototype = {
LeadtoolsMemberMarker(replace me) };
public enum class RasterPaintSizeMode : 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.
Remarks
Used by the the RasterImage.CalculatePaintModeRectangle method to determines how to fit the image in the destination rectangle.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterPaintSizeMode

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.