Skip to end of metadata
Go to start of metadata
Contents Summary
  

Introduction

This REST API allows you to update paragraph page formatting properties. The API returns updated data in the XML/JSON format. The resource properties are:

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.

Resource URI

Swagger UI lets you call this REST API directly from the browser.  

cURL Example

 Request
 Response

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Words Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.

SDK Examples

 C#
 Java
 Python
 Ruby
 Node.js
 Android
 Swift
 Go
Labels
  • No labels