[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Spacing

Spacing Class

Specifies the set of indentation properties applied to the current paragraph.

Inheritance
Spacing
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class Spacing : FormattingBag
Public Class Spacing
    Inherits FormattingBag

Properties

Name Description
AddSpaceBetweenFarEastAndAlpha

Gets or sets whether inter-character spacing shall automatically be adjusted between regions of Latin text and regions of East Asian text in the current paragraph. These regions shall be determined by the Unicode character values of the text content within the paragraph.

AddSpaceBetweenFarEastAndDigit

Gets or sets whether inter-character spacing shall automatically be adjusted between regions of numbers and regions of East Asian text in the current paragraph. These regions shall be determined by the Unicode character values of the text content within the paragraph.

LineSpacing

Gets or sets the line spacing for the paragraph. If LineSpacingRule is Auto then value is interpreted in lines otherwise in points.

LineSpacingRule

Gets or sets the line spacing rule for the paragraph.

LineUnitAfter

Gets or sets the amount of spacing (in gridlines) after the paragraph.

Has no effect when SpaceAfterAuto is true.

LineUnitBefore

Gets or sets the amount of spacing (in gridlines) before the paragraph.

Has no effect when SpaceBeforeAuto is true.

NoSpaceBetweenParagraphsOfSameStyle

When true, SpaceBefore and SpaceAfter will be ignored between the paragraphs of the same style.

SpaceAfter

Gets or sets the amount of spacing (in points) after the paragraph.

Has no effect when SpaceAfterAuto is true.

SpaceAfterAuto

True if the amount of spacing after the paragraph is set automatically.

When set to true, overrides the effect of SpaceAfter.

SpaceBefore

Gets or sets the amount of spacing (in points) before the paragraph.

Has no effect when SpaceBeforeAuto is true.

SpaceBeforeAuto

True if the amount of spacing before the paragraph is set automatically.

When set to true, overrides the effect of SpaceBefore.

Methods

Name Description
ClearFormatting()

Resets to default spacing formatting.

Removes all spacing formatting specified explicitly on the object from which Indent was obtained so the spacing formatting will be inherited from the appropriate parent.