Skip to main content

ApiParaPr

Represents the ApiParaPr class.

Methods

MethodReturnsDescription
GetBetweenBorderBorder | undefinedReturns the between border of the current paragraph.
GetBottomBorderBorder | undefinedReturns the bottom border of the current paragraph.
GetClassType"paraPr"Returns a type of the ApiParaPr class.
GetContextualSpacingboolean | undefinedReturns the contextual spacing value of the current paragraph.
GetIndFirstLinetwips | undefinedReturns the paragraph first line indentation.
GetIndLefttwips | undefinedReturns the paragraph left side indentation.
GetIndRighttwips | undefinedReturns the paragraph right side indentation.
GetJc"left" | "right" | "both" | "center" | undefinedReturns the paragraph contents justification.
GetKeepLinesboolean | undefinedReturns the keep lines value of the current paragraph.
GetKeepNextboolean | undefinedReturns the keep next value of the current paragraph.
GetLeftBorderBorder | undefinedReturns the left border of the current paragraph.
GetNumPrApiNumberingLevel | undefinedReturns the numbering level for the current paragraph referencing the numbering definition instance in the current document.
GetOutlineLvlNumber | undefinedReturns the outline level of the specified properties.
GetPageBreakBeforeboolean | undefinedReturns the page break before value of the current paragraph.
GetRightBorderBorder | undefinedReturns the right border of the current paragraph.
GetShdShd | undefinedReturns the shading applied to the contents of the paragraph.
GetSpacingAftertwipsReturns the spacing after value of the current paragraph.
GetSpacingBeforetwipsReturns the spacing before value of the current paragraph.
GetSpacingLineRule"auto" | "atLeast" | "exact" | undefinedReturns the paragraph line spacing rule.
GetSpacingLineValuetwips | line240 | undefinedReturns the paragraph line spacing value.
GetStyleApiStyleReturns the paragraph style method.
GetTabsTabStop[]Returns the custom tab stops of the current paragraph.
GetTopBorderBorder | undefinedReturns the top border of the current paragraph.
GetWidowControlboolean | undefinedReturns the widow control value of the current paragraph.
SetBetweenBorderbooleanSpecifies the border which will be displayed between each paragraph in a set of paragraphs which have the same set of paragraph border settings.
SetBottomBorderbooleanSpecifies the border which will be displayed below a set of paragraphs which have the same paragraph border settings.
SetContextualSpacingbooleanSpecifies that any space before or after this paragraph set using the
SetIndFirstLinebooleanSets the paragraph first line indentation.
SetIndLeftbooleanSets the paragraph left side indentation.
SetIndRightbooleanSets the paragraph right side indentation.
SetJcbooleanSets the paragraph contents justification.
SetKeepLinesbooleanSpecifies that when rendering the document using a page view, all lines of the current paragraph are maintained on a single page whenever possible.
SetKeepNextbooleanSpecifies that when rendering the document using a paginated view, the contents of the current paragraph are at least
SetLeftBorderbooleanSpecifies the border which will be displayed at the left side of the page around the specified paragraph.
SetNumPrbooleanSpecifies that the current paragraph references a numbering definition instance in the current document.
SetOutlineLvlbooleanSets the outline level for the specified properties.
SetPageBreakBeforebooleanSpecifies that when rendering the document using a paginated view, the contents of the current paragraph are rendered at
SetRightBorderbooleanSpecifies the border which will be displayed at the right side of the page around the specified paragraph.
SetShdbooleanSpecifies the shading applied to the contents of the paragraph.
SetSpacingAfterbooleanSets the spacing after the current paragraph. If the value of the isAfterAuto parameter is true, then
SetSpacingBeforebooleanSets the spacing before the current paragraph. If the value of the isBeforeAuto parameter is true, then
SetSpacingLinebooleanSets the paragraph line spacing. If the value of the sLineRule parameter is either
SetStylebooleanThe paragraph style base method.
SetTabsbooleanSpecifies a sequence of custom tab stops which will be used for any tab characters in the current paragraph.
SetTopBorderbooleanSpecifies the border which will be displayed above a set of paragraphs which have the same set of paragraph border settings.
SetWidowControlbooleanSpecifies whether a single line of the current paragraph will be displayed on a separate page from the remaining content at display time by moving the line onto the following page.
ToJSONJSONConverts the ApiParaPr object into the JSON object.