跳到主要内容

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.
GetFillApiFill | nullGets the fill properties from the current shape.
GetGeometryApiGeometryReturns the geometry object from the current shape.
GetLineApiStroke | nullGets the outline properties from the current shape.
SetFillbooleanSets the fill properties to the current shape.
SetGeometrybooleanSets a custom geometry for the current shape.
SetLinebooleanSets the outline properties to 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.