Skip to main content

ApiParaPr

Class representing the paragraph properties.

Methods​

The following table lists the available methods.

MethodReturnsDescription
GetClassType"paraPr"Returns a type of the ApiParaPr class.
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.
GetOutlineLvlNumber | undefinedReturns the outline level of the specified properties.
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.
GetTabsTabStop[]Returns the custom tab stops of the current paragraph.
SetBulletNoneSets the bullet or numbering to the current paragraph.
SetIndFirstLinebooleanSets the paragraph first line indentation.
SetIndLeftbooleanSets the paragraph left side indentation.
SetIndRightbooleanSets the paragraph right side indentation.
SetJcbooleanSets the paragraph contents justification.
SetOutlineLvlbooleanSets the outline level for the specified properties.
SetSpacingAfterbooleanSets the spacing after the current paragraph.
SetSpacingBeforebooleanSets the spacing before the current paragraph.
SetSpacingLinebooleanSets the paragraph line spacing.
SetTabsbooleanSpecifies a sequence of custom tab stops which will be used for any tab characters in the current paragraph.