Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Image ImageAlign Property

ASP.NET Image ImageAlign Property


Image Control Image control


Definition and Usage

The ImageAlign property is used to set or return the alignment of the image.

Syntax

/>

 

property Description
align Specifies the alignment of the image.

Possible values:

  • NotSet
  • AbsBottom
  • AbsMiddle
  • BaseLine
  • Bottom
  • Left
  • Middle
  • Right
  • TextTop
  • Top
  • |

    Example

    The following example sets the ImageAlign property on an Image control:

    ImageUrl="img.gif" ImageAlign="Right" />

    Demo Example »


    Image Control Image control