System.Web.UI.WebControls.ImageAlign Enumeration

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

Syntax

public enum ImageAlign

Remarks

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

Members

Member NameDescription
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
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0