跳到主要内容

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");