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