跳到主要内容

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.
GetNextShapeApiShape | nullReturns the next inline shape if exists.
GetPrevShapeApiShape | nullReturns the previous inline shape if exists.
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.