.NET Framework Class Library 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)

Syntax
Public Enumeration ImageAlign
public enum class ImageAlign

Members
| Member name | Description |
|---|
| NotSet | The alignment is not set. | | Left | The image is aligned on the left edge of the Web page with text wrapping on the right. | | Right | The image is aligned on the right edge of the Web page with text wrapping on the left. | | Baseline | The lower edge of the image is aligned with the lower edge of the first line of text. | | Top | The upper edge of the image is aligned with the upper edge of the highest element on the same line. | | Middle | The middle 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. | | 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. | | TextTop | The upper edge of the image is aligned with the upper edge of the highest text on the same line. |

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

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also
|
Bibliothèque de classes .NET Framework ImageAlign, énumération Spécifie l'alignement d'une image par rapport au texte d'une page Web.
Espace de noms :
System.Web.UI.WebControls
Assembly :
System.Web (dans System.Web.dll)

Syntaxe
Public Enumeration ImageAlign
public enum class ImageAlign

Membres
| Nom de membre | Description |
|---|
| NotSet | L'alignement n'est pas défini. | | Left | L'image est alignée sur le bord gauche de la page Web avec retour automatique à la ligne sur la droite. | | Right | L'image est alignée sur le bord droit de la page Web avec retour automatique à la ligne sur la gauche. | | Baseline | Le bord inférieur de l'image est aligné avec le bord inférieur de la première ligne de texte. | | Top | Le bord supérieur de l'image est aligné avec le bord supérieur de l'élément le plus haut sur la même ligne. | | Middle | Le milieu de l'image est aligné avec le bord inférieur de la première ligne de texte. | | Bottom | Le bord inférieur de l'image est aligné avec le bord inférieur de la première ligne de texte. | | AbsBottom | Le bord inférieur de l'image est aligné avec le bord inférieur de l'élément le plus large sur la même ligne. | | AbsMiddle | Le milieu de l'image est aligné avec le milieu de l'élément le plus large sur la même ligne. | | TextTop | Le bord supérieur de l'image est aligné avec le bord supérieur du texte le plus haut sur la même ligne. |

Notes
L'énumération ImageAlign représente les options d'alignement d'une image par rapport au texte d'une page Web.

Informations de version
.NET FrameworkPris en charge dans : 4, 3.5, 3.0, 2.0, 1.1, 1.0

Plateformes
Windows 7, Windows Vista SP1 ou ultérieur, Windows XP SP3, Windows XP SP2 Édition x64, Windows Server 2008 (installation minimale non prise en charge), Windows Server 2008 R2 (installation minimale prise en charge avec SP1 ou version ultérieure), Windows Server 2003 SP2
Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Voir aussi
RéférenceAutres ressources
|