Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 Enum
Visual Basic (Usage)Copy Code
Dim instance As ImageViewerAlignMode
C# 
public enum ImageViewerAlignMode : Enum 
C++/CLI 
public enum class ImageViewerAlignMode : public Enum 

Members

MemberDescription
Near The 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.
Center The image is aligned in the center of the layout rectangle.
Far The 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.

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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also