LEADTOOLS (Leadtools assembly)

RasterPaintSizeMode Enumeration

Show in webframe







Determines how to fit the image in the destination rectangle.
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  

            
public enum RasterPaintSizeMode
Leadtools.RasterPaintSizeMode = function() { };
Leadtools.RasterPaintSizeMode.prototype = {
Normal = 0x00000000, Fit = 0x00000001, FitAlways = 0x00000002, FitWidth = 0x00000003, Stretch = 0x00000004, FitHeight = 0x00000005, };
public enum class RasterPaintSizeMode : 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.
0x00000005FitHeightFit the image height to be the size of the height of the destination rectangle while maintaining the aspect ratio
Remarks
Used by 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

See Also

Reference

Leadtools Namespace

 

 


Products | Support | Contact Us | Copyright Notices

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