跳到主要内容

VerticalTextAlign

可用的文本垂直对齐方式(用于在形状中对齐文本与其内部的文本位置)。

类型

枚举

  • "top"
  • "center"
  • "bottom"

示例

在此示例中,创建的形状的内部文本将垂直对齐到更靠近形状上部的位置。

// How to set a vertical position of a text in a shape.

// Move drawing text to the top in the ApiShape object.

drawing.SetVerticalTextAlign("top");