This documentation is archived and is not being maintained.

ImageAlign Enumeration

Specifies the alignment of an image in relation to the text of a Web page.

[Visual Basic]
<Serializable>
Public Enum ImageAlign
[C#]
[Serializable]
public enum ImageAlign
[C++]
[Serializable]
__value public enum ImageAlign
[JScript]
public
   Serializable
enum ImageAlign

Remarks

The ImageAlign enumeration represents the alignment options for an image relative to the text of a Web page.

Members

Member name Description
AbsBottom The lower edge of the image is aligned with the lower edge of the largest element on the same line.
AbsMiddle The middle of the image is aligned with the middle of the largest element on the same line.
Baseline The lower edge of the image is aligned with the lower edge of the first line of text.
Bottom The lower edge of the image is aligned with the lower edge of the first line of text.
Left The image is aligned on the left edge of the Web page with text wrapping on the right.
Middle The middle of the image is aligned with the lower edge of the first line of text.
NotSet The alignment is not set.
Right The image is aligned on the right edge of the Web page with text wrapping on the left.
TextTop The upper edge of the image is aligned with the upper edge of the highest text on the same line.
Top The upper edge of the image is aligned with the upper edge of the highest element on the same line.

Requirements

Namespace: System.Web.UI.WebControls

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

System.Web.UI.WebControls Namespace | Image | ImageAlign

Show: