System.Web.UI.WebControls (system.web.dll)enum

This enumeration specifies the alignment used for an Image control. Left and Right specify an alignment relative to the web page. Text will wrap around an Image control on the opposite side. Other values are relative to the current text line. For example, Bottom and Middle align the bottom or middle of an image with the lower edge of a text line. AbsBottom, AbsMiddle, and Top, on the other hand, are relative to the bottom, middle, or top of the largest element in the same line.

public enum ImageAlign {
   NotSet = 0,
   Left = 1,
   Right = 2,
   Baseline = 3,
   Top = 4,
   Middle = 5,
   Bottom = 6,
   AbsBottom = 7,
   AbsMiddle = 8,
   TextTop = 9


System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ImageAlign

Returned By


Passed To


    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace