Skip to main content

ApiShape

Represents the ApiShape class.

Methods

MethodReturnsDescription
GetClassType"shape"Returns the type of the ApiShape class.
GetContentApiDocumentContentReturns 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.
SetVerticalTextAlignbooleanSets the vertical alignment to the shape content where a paragraph or text runs can be inserted.