API usage文本文档 APIEnumerationVerticalTextAlign本页总览VerticalTextAlignAsk a question 可用的文本垂直对齐方式(用于在形状中对齐文本与其内部的文本位置)。 类型 枚举 值 "top" "center" "bottom" 示例 在此示例中,创建的形状的内部文本将垂直对齐到更靠近形状上部的位置。 CodeResultPlayground// 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");