Skip to main content

ApiShape

Represents the ApiShape class.

Methods

MethodReturnsDescription
GetClassType"shape"Returns a type of the ApiShape class.
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.
GetNextShapeApiShape | nullReturns the next inline shape if exists.
GetPrevShapeApiShape | nullReturns the previous inline shape if exists.
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.