跳到主要内容

ApiShape

Represents the ApiShape class.

Methods

MethodReturnsDescription
GetClassType"shape"Returns a type of the ApiShape class.
GetContentApiDocumentContentReturns the shape inner contents where a paragraph or text runs can be inserted.
GetDocContentApiDocumentContentReturns the shape inner contents where a paragraph or text runs can be inserted.
GetGeometryApiGeometryReturns the geometry object from the current shape.
SetGeometrybooleanSets a custom geometry for the current shape.
SetPaddingsbooleanSets the text paddings to the current shape.
SetVerticalTextAlignbooleanSets the vertical alignment to the shape content where a paragraph or text runs can be inserted.