[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Spacing

Class Spacing

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

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

public class Spacing : FormattingBag
Inheritance
object
Spacing
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

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.

public bool AddSpaceBetweenFarEastAndAlpha { get; set; }

Property Value

bool

Remarks

This property is used to ensure that the spacing between regions of Latin text and adjoining East Asian text is sufficient on each side such that the Latin text can be easily read within the East Asian text.

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.

public bool AddSpaceBetweenFarEastAndDigit { get; set; }

Property Value

bool

Remarks

This property is used to ensure that the spacing between regions of numbers and adjoining East Asian text is sufficient on each side such that the numbers can be easily read within the East Asian text.

LineSpacing

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

public float LineSpacing { get; set; }

Property Value

float

LineSpacingRule

Gets or sets the line spacing rule for the paragraph.

public LineSpacingRule LineSpacingRule { get; set; }

Property Value

LineSpacingRule

LineUnitAfter

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

Has no effect when SpaceAfterAuto is true.

public float LineUnitAfter { get; set; }

Property Value

float

LineUnitBefore

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

Has no effect when SpaceBeforeAuto is true.

public float LineUnitBefore { get; set; }

Property Value

float

NoSpaceBetweenParagraphsOfSameStyle

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

public bool NoSpaceBetweenParagraphsOfSameStyle { get; set; }

Property Value

bool

SpaceAfter

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

Has no effect when SpaceAfterAuto is true.

public float SpaceAfter { get; set; }

Property Value

float

SpaceAfterAuto

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

When set to true, overrides the effect of SpaceAfter.

public bool SpaceAfterAuto { get; set; }

Property Value

bool

SpaceBefore

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

Has no effect when SpaceBeforeAuto is true.

public float SpaceBefore { get; set; }

Property Value

float

SpaceBeforeAuto

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

When set to true, overrides the effect of SpaceBefore.

public bool SpaceBeforeAuto { get; set; }

Property Value

bool

Methods

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.

public override void ClearFormatting()