ImageAlign Enumeration
TOC
Collapse the table of content
Expand the table of content

ImageAlign Enumeration

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public enum ImageAlign

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.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft