ImageAlign 枚举

定义

指定图像相对于网页文本的对齐方式。Specifies the alignment of an image in relation to the text of a Web page.

public enum class ImageAlign
public enum ImageAlign
type ImageAlign = 
Public Enum ImageAlign
继承
ImageAlign

字段

AbsBottom 7

图像的下边缘与同一行中最大元素的下边缘对齐。The lower edge of the image is aligned with the lower edge of the largest element on the same line.

AbsMiddle 8

图像的中间与同一行中最大元素的中间对齐。The middle of the image is aligned with the middle of the largest element on the same line.

Baseline 3

图像的下边缘与第一行文本的下边缘对齐。The lower edge of the image is aligned with the lower edge of the first line of text.

Bottom 6

图像的下边缘与第一行文本的下边缘对齐。The lower edge of the image is aligned with the lower edge of the first line of text.

Left 1

图像沿网页的左边缘对齐,文字在图像右边换行。The image is aligned on the left edge of the Web page with text wrapping on the right.

Middle 5

图像的中间与第一行文本的下边缘对齐。The middle of the image is aligned with the lower edge of the first line of text.

NotSet 0

未设定对齐方式。The alignment is not set.

Right 2

图像沿网页的右边缘对齐,文字在图像左边换行。The image is aligned on the right edge of the Web page with text wrapping on the left.

TextTop 9

图像的上边缘与同一行上最高文本的上边缘对齐。The upper edge of the image is aligned with the upper edge of the highest text on the same line.

Top 4

图像的上边缘与同一行上最高元素的上边缘对齐。The upper edge of the image is aligned with the upper edge of the highest element on the same line.

注解

ImageAlign枚举表示图像相对于网页文本的对齐选项。The ImageAlign enumeration represents the alignment options for an image relative to the text of a Web page.

适用于

另请参阅