LEADTOOLS (Leadtools assembly)

RasterPaintAlignMode Enumeration

Show in webframe







Determines how to align the image in the destination rectangle.
Syntax
public enum RasterPaintAlignMode : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
Public Enum RasterPaintAlignMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As RasterPaintAlignMode
public enum RasterPaintAlignMode : System.IComparableSystem.IConvertibleSystem.IFormattable  

            
public enum RasterPaintAlignMode
Leadtools.RasterPaintAlignMode = function() { };
Leadtools.RasterPaintAlignMode.prototype = {
Near = 0, Center = 1, CenterAlways = 2, Far = 3, };
public enum class RasterPaintAlignMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0NearAlign the image to the left (if this is the horizontal alignment) or top (if this is the vertical alignment) of the destination rectangle.
1CenterCenter the image in the middle of the destination rectangle. If the image size is greater than the destination rectangle size then do not center the image.
2CenterAlwaysCenter the image in the middle of the destination rectangle.
3FarAlign the image to the right (if this is the horizontal alignment) or bottom (if this is the vertical alignment) of the destination rectangle.
Remarks
Used by the RasterImage.CalculatePaintModeRectangle method to determines how to align the image in the destination rectangle.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterPaintAlignMode

Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

 

 


Products | Support | Contact Us | Copyright Notices

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