Update Properties

This REST API updates Paragraph formatting properties.

The important properties are described below:

Property NameTypeDescription
AddSpaceBetweenFarEastAndAlphaboolSpecifies a flag indicating whether inter-character spacing is automatically adjusted between regions of Latin text and regions of East Asian text in the current paragraph.
AddSpaceBetweenFarEastAndDigitboolSpecifies a flag indicating whether inter-character spacing is automatically adjusted between regions of numbers and regions of East Asian text in the current paragraph.
AlignmentAspose.Words.ParagraphAlignmentSpecifies text alignment for the paragraph.
BidiboolSpecifies whether this is a right-to-left paragraph.
DropCapPositionAspose.Words.DropCapPositionSpecifies the position for a drop cap text.
FirstLineIndentdoubleSpecifies the value (in points) for a first-line or hanging indent. Use a positive value to set the first-line indent, and use a negative value to set a hanging indent.
KeepTogetherboolTrue if all lines in the paragraph are to remain on the same page.
KeepWithNextboolTrue if the paragraph is to remains on the same page as the paragraph that follows it.
LeftIndentdoubleSpecifies the value (in points) that represents the left indent for a paragraph.
LineSpacingdoubleSpecifies the line spacing (in points) for the paragraph.
LineSpacingRuleAspose.Words.LineSpacingRuleSpecifies the line spacing for the paragraph.
LinesToDropintSpecifies the number of lines of the paragraph text used to calculate the drop cap-height.
NoSpaceBetweenParagraphsOfSameStyleboolWhen true, “SpaceBefore” and “SpaceAfter” will be ignored between the paragraphs of the same style.
OutlineLevelAspose.Words.OutlineLevelSpecifies the outline level of the paragraph in the document.
PageBreakBeforeboolTrue if a page break is forced before the paragraph.
RightIndentboolSpecifies the value (in points) that represents the right indent for a paragraph.
SpaceAfterdoubleSpecifies the amount of spacing (in points) after the paragraph.
SpaceAfterAutoboolTrue if the amount of spacing after the paragraph is set automatically.
SpaceBeforedoubleSpecifies the amount of spacing (in points) before the paragraph.
SpaceBeforeAutoboolTrue if the amount of spacing before the paragraph is set automatically.
StyleIdentifierAspose.Words.StyleIdentifierSpecifies the locale-independent style identifier of the paragraph style applied to this formatting.
StyleNamestringSpecifies the name of the paragraph style applied to this formatting.
SuppressAutoHyphensboolSpecifies whether the current paragraph should be exempted from any hyphenation which is applied in the document settings.
SuppressLineNumbersboolSpecifies whether the current paragraph’s lines should be exempted from line numbering which is applied in the parent section.
WidowControlboolTrue if the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph.

REST API

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use cURL command-line tool to access Aspose.Words web services easily. The following example shows how to make calls to Cloud API with cURL.

Cloud SDK Family

Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Words Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Words web services using various SDKs: