跳到主要内容

VerticalTextAlign

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

类型

枚举

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

示例

In this example the inner text for the created shape will be added aligned vertically closer to the shape upper part.

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