[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Indentation

Class Indentation

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

Represents the set of indentation properties applied to a paragraph.

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

Properties

AutoAdjustRightIndent

Gets or sets whether the right indent shall be automatically adjusted for the given paragraph when a document grid has been defined for the current section, modifying of the current right indent used on this paragraph.

public bool AutoAdjustRightIndent { get; set; }

Property Value

bool

Remarks

This setting is used in order to ensure that the line breaking for that paragraph is not determined by the width of the final character on the line.

CharacterUnitFirstLineIndent

Returns or sets the value (in characters) for a first-line or hanging indent. Use a positive value to set a first-line indent, and use a negative value to set a hanging indent.

public float CharacterUnitFirstLineIndent { get; set; }

Property Value

float

CharacterUnitLeftIndent

Gets or sets the left indent value (in characters) for the specified paragraphs.

public float CharacterUnitLeftIndent { get; set; }

Property Value

float

CharacterUnitRightIndent

Gets or sets the right indent value (in characters) for the specified paragraphs.

public float CharacterUnitRightIndent { get; set; }

Property Value

float

FirstLineIndent

Gets or sets the value (in points) for a first line or hanging indent. Use a positive value to set a first-line indent, and use a negative value to set a hanging indent.

public float FirstLineIndent { get; set; }

Property Value

float

LeftIndent

Gets or sets the value (in points) that represents the left indent for paragraph.

public float LeftIndent { get; set; }

Property Value

float

MirrorIndents

Gets or sets whether the paragraph indents should be interpreted as mirrored indents.

public bool MirrorIndents { get; set; }

Property Value

bool

Remarks

When true, the start indent shall become the inside indent (the one closest to the binding) and the end indent shall become the outside indent (the one furthest from the binding). This mirroring is typically used when the contents of the document are used to generate signatures combinations of pages that are then placed in a binding. When signatures are printed in a left-to-right document, the first, third, etc. pages are printed on the left side of the combined sheet, and the second, fourth, etc. are printed on its right side, then bound and folded. For a right-to-left document, the first, third, etc. pages are printed on the right side of the combined sheet, and the second, fourth, etc. are printed on its left side.

RightIndent

Gets or sets the value (in points) that represents the right indent for paragraph.

public float RightIndent { get; set; }

Property Value

float

Methods

ClearFormatting()

Resets to default indent formatting.

public override void ClearFormatting()

Remarks

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