LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RasterPaintAlignMode Enumeration
See Also  
Leadtools Namespace : RasterPaintAlignMode Enumeration



Determines how to align the image in the destination rectangle. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Enum RasterPaintAlignMode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterPaintAlignMode
C# 
public enum RasterPaintAlignMode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class RasterPaintAlignMode : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
CenterCenter 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.
CenterAlwaysCenter the image in the middle of the destination rectangle.
FarAlign the image to the right (if this is the horizontal alignment) or bottom (if this is the vertical alignment) of the destination rectangle.
NearAlign the image to the left (if this is the horizontal alignment) or top (if this is the vertical alignment) of the destination rectangle.

Remarks

Used by the 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also