Share via


Paragraphs Members

Include Protected Members
Include Inherited Members

A collection of Paragraph objects in a selection, range, or document.

The Paragraphs type exposes the following members.

Methods

  Name Description
Public method Add Returns a Paragraph object that represents a new, blank paragraph added to a document.
Public method CloseUp Removes any spacing before the specified paragraphs.
Public method DecreaseSpacing Decreases the spacing before and after paragraphs in six-point increments.
Public method GetEnumerator (Inherited from IEnumerable.)
Public method IncreaseSpacing Increases the spacing before and after paragraphs in six-point increments.
Public method Indent Indents one or more paragraphs by one level.
Public method IndentCharWidth Indents one or more paragraphs by a specified number of characters.
Public method IndentFirstLineCharWidth Indents one or more paragraphs by a specified number of characters.
Public method OpenOrCloseUp If spacing before the specified paragraphs is 0 (zero), this method sets spacing to 12 points. If spacing before the paragraphs is greater than 0 (zero), this method sets spacing to 0 (zero).
Public method OpenUp Sets spacing before the specified paragraphs to 12 points.
Public method Outdent Removes one level of indent for one or more paragraphs.
Public method OutlineDemote Applies the next heading level style (Heading 1 through Heading 8) to the specified paragraph or paragraphs.
Public method OutlineDemoteToBody Demotes the specified paragraph or paragraphs to body text by applying the Normal style.
Public method OutlinePromote Applies the previous heading level style (Heading 1 through Heading 8) to the specified paragraph or paragraphs.
Public method Reset Removes manual paragraph formatting (formatting not applied using a style).
Public method Space1 Single-spaces the specified paragraphs.
Public method Space15 Formats the specified paragraphs with 1.5-line spacing.
Public method Space2 Double-spaces the specified paragraphs.
Public method TabHangingIndent Sets a hanging indent to a specified number of tab stops.
Public method TabIndent Sets the left indent for the specified paragraphs to a specified number of tab stops.

Top

Properties

  Name Description
Public property AddSpaceBetweenFarEastAndAlpha Determines if Microsoft Word is set to automatically add spaces between Japanese and Latin text for the specified paragraphs.
Public property AddSpaceBetweenFarEastAndDigit Determines if Microsoft Word is set to automatically add spaces between Japanese text and numbers for the specified paragraphs.
Public property Alignment Returns or sets a WdParagraphAlignment constant that represents the alignment for the specified paragraphs.
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property AutoAdjustRightIndent Determines if Microsoft Word is set to automatically adjust the right indent for the specified paragraphs if you’ve specified a set number of characters per line.
Public property BaseLineAlignment Returns or sets a WdBaselineAlignment constant that represents the vertical position of fonts on a line.
Public property Borders Returns a Borders collection that represents all the borders for the specified object.
Public property CharacterUnitFirstLineIndent Returns or sets the value (in characters) for a first-line or hanging indent.
Public property CharacterUnitLeftIndent Returns or sets the left indent value (in characters) for the specified paragraphs.
Public property CharacterUnitRightIndent Returns or sets the right indent value (in characters) for the specified paragraphs.
Public property Count Returns the number of items in the specified collection.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property DisableLineHeightGrid Determines if Microsoft Word aligns characters in the specified paragraphs to the line grid when a set number of lines per page is specified.
Public property FarEastLineBreakControl Determines if Microsoft Word applies East Asian line-breaking rules to the specified paragraphs.
Public property First Returns a Paragraph object that represents the first item in the Paragraphs collection.
Public property FirstLineIndent Returns or sets the value (in points) for a first line or hanging indent.
Public property Format Returns or sets a ParagraphFormat object that represents the formatting of the specified paragraph or paragraphs.
Public property HalfWidthPunctuationOnTopOfLine Determines if Microsoft Word changes punctuation symbols at the beginning of a line to half-width characters for the specified paragraphs.
Public property HangingPunctuation Determines if hanging punctuation is enabled for the specified paragraphs.
Public property Hyphenation Determines if the specified paragraphs are included in automatic hyphenation.
Public property Item Returns an individual object in a collection.
Public property KeepTogether Determines if all lines in the specified paragraphs remain on the same page when Microsoft Word repaginates the document.
Public property KeepWithNext Determines if the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document.
Public property Last Returns the last item in the Paragraphs collection as a Paragraph object.
Public property LeftIndent Returns or sets a Single that represents the left indent value (in points) for the specified paragraphs.
Public property LineSpacing Returns or sets the line spacing (in points) for the specified paragraphs.
Public property LineSpacingRule Returns or sets the line spacing for the specified paragraphs.
Public property LineUnitAfter Returns or sets the amount of spacing (in gridlines) after the specified paragraphs.
Public property LineUnitBefore Returns or sets the amount of spacing (in gridlines) before the specified paragraphs.
Public property NoLineNumber Determines if line numbers are repressed for the specified paragraphs.
Public property OutlineLevel Returns or sets the outline level for the specified paragraphs.
Public property PageBreakBefore Determines if a page break is forced before the specified paragraphs.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property ReadingOrder Returns or sets the reading order of the specified paragraphs without changing their alignment.
Public property RightIndent Returns or sets the right indent (in points) for the specified paragraphs.
Public property Shading Returns a Shading object that refers to the shading formatting for the specified object.
Public property SpaceAfter Returns or sets the amount of spacing (in points) after the specified paragraph or text column.
Public property SpaceAfterAuto Determines if Microsoft Word automatically sets the amount of spacing after the specified paragraphs.
Public property SpaceBefore Returns or sets the spacing (in points) before the specified paragraphs.
Public property SpaceBeforeAuto Determines if Microsoft Word automatically sets the amount of spacing before the specified paragraphs.
Public property Style Returns or sets the style for the specified object.
Public property TabStops Returns or sets a TabStops collection that represents all the custom tab stops for the specified paragraphs.
Public property WidowControl Determines if the first and last lines in the specified paragraph remain on the same page as the rest of the paragraph when Microsoft Word repaginates the document.
Public property WordWrap Determines if Microsoft Word wraps Latin text in the middle of a word in the specified paragraphs or text frames.

Top

See Also

Reference

Paragraphs Interface

Microsoft.Office.Interop.Word Namespace