LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ImageViewerAlignMode Enumeration
See Also  
Leadtools.Web.Controls Namespace : ImageViewerAlignMode Enumeration



Values that specify how an image is aligned relative to its layout rectangle.

Syntax

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

Members

MemberDescription
CenterThe image is aligned in the center of the layout rectangle.
FarThe image is aligned at a distance from the origin of the layout rectangle. In a Horizontal layout, the far position is on the right. In a Vertical layout, the far position is at the bottom.
NearThe image is aligned near the layout. In a Horizontal layout, the near position is on the left. In a Vertical layout, the near position is at the top.

Remarks

The WebImageViewer.HorizontalAlignMode and WebImageViewer.VerticalAlignMode properties controls the horizontal and vertical alignment used when displaying the image.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Web.Controls.ImageViewerAlignMode

Requirements

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

See Also