[]
Represents the set of spacing properties that can be applied to a paragraph.
public class Spacing : FormattingBag
Public Class Spacing
Inherits FormattingBag
Name | Description |
---|---|
AddSpaceBetweenFarEastAndAlpha | Gets or sets a value indicating whether inter-character spacing should be automatically adjusted between regions of Latin text and East Asian text within the paragraph. These regions are determined by the Unicode character values of the text content. |
AddSpaceBetweenFarEastAndDigit | Gets or sets a value indicating whether inter-character spacing should be automatically adjusted between numeric characters and East Asian text within the paragraph. These regions are determined by the Unicode character values of the text content. |
LineSpacing | Gets or sets the line spacing for the paragraph. If LineSpacingRule is set to Auto, the value is interpreted in lines; otherwise, it is interpreted in points. |
LineSpacingRule | Gets or sets the rule used to calculate line spacing for the paragraph. |
LineUnitAfter | Gets or sets the amount of spacing, in grid lines, after the paragraph. |
LineUnitBefore | Gets or sets the amount of spacing, in grid lines, before the paragraph. |
NoSpaceBetweenParagraphsOfSameStyle | Gets or sets a value indicating whether SpaceBefore and SpaceAfter should be ignored between paragraphs of the same style. |
SpaceAfter | Gets or sets the amount of spacing, in points, after the paragraph. |
SpaceAfterAuto | Gets or sets a value indicating whether the spacing after the paragraph is set automatically. |
SpaceBefore | Gets or sets the amount of spacing, in points, before the paragraph. |
SpaceBeforeAuto | Gets or sets a value indicating whether the spacing before the paragraph is set automatically. |
Name | Description |
---|---|
ClearFormatting() | Resets the spacing formatting to default values. |