Update Properties

This REST API updates Paragraph formatting properties.

The important properties are described below:

Property Name Type Description
AddSpaceBetweenFarEastAndAlpha bool Specifies 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.
AddSpaceBetweenFarEastAndDigit bool Specifies a flag indicating whether inter-character spacing is automatically adjusted between regions of numbers and regions of East Asian text in the current paragraph.
Alignment Aspose.Words.ParagraphAlignment Specifies text alignment for the paragraph.
Bidi bool Specifies whether this is a right-to-left paragraph.
DropCapPosition Aspose.Words.DropCapPosition Specifies the position for a drop cap text.
FirstLineIndent double Specifies 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.
KeepTogether bool True if all lines in the paragraph are to remain on the same page.
KeepWithNext bool True if the paragraph is to remains on the same page as the paragraph that follows it.
LeftIndent double Specifies the value (in points) that represents the left indent for a paragraph.
LineSpacing double Specifies the line spacing (in points) for the paragraph.
LineSpacingRule Aspose.Words.LineSpacingRule Specifies the line spacing for the paragraph.
LinesToDrop int Specifies the number of lines of the paragraph text used to calculate the drop cap-height.
NoSpaceBetweenParagraphsOfSameStyle bool When true, “SpaceBefore” and “SpaceAfter” will be ignored between the paragraphs of the same style.
OutlineLevel Aspose.Words.OutlineLevel Specifies the outline level of the paragraph in the document.
PageBreakBefore bool True if a page break is forced before the paragraph.
RightIndent bool Specifies the value (in points) that represents the right indent for a paragraph.
SpaceAfter double Specifies the amount of spacing (in points) after the paragraph.
SpaceAfterAuto bool True if the amount of spacing after the paragraph is set automatically.
SpaceBefore double Specifies the amount of spacing (in points) before the paragraph.
SpaceBeforeAuto bool True if the amount of spacing before the paragraph is set automatically.
StyleIdentifier Aspose.Words.StyleIdentifier Specifies the locale-independent style identifier of the paragraph style applied to this formatting.
StyleName string Specifies the name of the paragraph style applied to this formatting.
SuppressAutoHyphens bool Specifies whether the current paragraph should be exempted from any hyphenation which is applied in the document settings.
SuppressLineNumbers bool Specifies whether the current paragraph’s lines should be exempted from line numbering which is applied in the parent section.
WidowControl bool True 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: