[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ParagraphFormat

ParagraphFormat Class

Represents all formatting for a paragraph.

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

Properties

Name Description
Alignment

Gets or sets text alignment for the paragraph.

BaseLineAlignment

Gets or sets the vertical alignment of all text on each line displayed within a paragraph. If the line height (before any added spacing) is larger than one or more characters on the line, all characters are aligned to each other as specified by this property.

Bidi

Gets or sets whether this is a right-to-left paragraph.

Borders

Gets border collection of the paragraph.

DisableLineHeightGrid

Gets or sets whether the current paragraph should use the document grid lines per page settings defined in the document when laying out the contents in the paragraph. This setting determines whether the additional line pitch specified in the document grid shall be added to each line in this paragraph as specified by the document grid.

FarEastLineBreakControl

Gets or sets whether East Asian typography and line-breaking rules shall be applied to text in this paragraph to determine which characters can begin and end each line. This property only applies to Simplified Chinese, Traditional Chinese, and Japanese text in this paragraph.

HalfWidthPunctuationOnTopOfLine

Gets or sets whether to change punctuation symbols at the beginning of a line to half-width characters for the paragraphs

HangingPunctuation

Gets or sets whether the text in this paragraph shall be allowed to extend one character beyond the extents applied by any indents/margins when the character that extends past those extents is a punctuation character.

Hyphenation

Gets or sets whether the current paragraph should be exempted from any hyphenation that is applied in the document settings.

Indentation

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

KeepTogether

True if all lines in the paragraph are to remain on the same page.

KeepWithNext

True if the paragraph is to remains on the same page as the paragraph that follows it.

NoLineNumber

Gets or sets whether the current paragraph's lines should be exempted from line numbering that is applied in the parent section.

OutlineLevel

Specifies the outline level of the paragraph in the document.

PageBreakBefore

True if a page break is forced before the paragraph.

Shading

Returns a Shading object that refers to the shading formatting for the paragraph.

Spacing

Gets the set of spacing properties applied to the current paragraph.

TabStops

Gets the collection of custom tab stops defined for this object.

TextFlowDirection

Gets or sets the reading order of the specified paragraphs without changing their alignment.

TextboxTightWrap

Gets or sets whether, for paragraphs in a text box, the surrounding text shall be allowed to overlap with the empty text box boundaries and tight wrap to the extents of the text within the text box.

WidowControl

True if the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph.

WordWrap

Gets or sets whether to wrap Latin text in the middle of a word in the paragraph.

Methods

Name Description
ClearFormatting()

Resets to default paragraph formatting.