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



The RasterAlignMode Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Determines how to align the image in the destination rectangle.

Syntax

Visual Basic (Declaration) 
<DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterAlignMode")>
Public Enum RasterAlignMode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterAlignMode
C# 
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterAlignMode")]
public enum RasterAlignMode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterAlignMode")]
public enum class RasterAlignMode : 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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Services.Raster.DataContracts.RasterAlignMode

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features