Skip to content

TextAlignment (JavaScript)

TextAlignment

Scripting Name:Insight.TextAlignment

文字对齐方式的枚举类型。

Enum


javascript
enum { LEFT = 1, H_MID = 2, RIGHT = 4, TOP = 8, V_MID = 16, BOTTOM = 32 }
枚举值含义
LEFT水平左对齐
H_MID水平居中
RIGHT水平右对齐
TOP垂直上对齐
V_MID垂直居中
BOTTOM垂直下对齐