Compartilhar via


Paragraph Object Members

Word Developer Reference

Represents a single paragraph in a selection, range, or document. The Paragraph object is a member of the Paragraphs collection. The Paragraphs collection includes all the paragraphs in a selection, range, or document.

Methods

  Name Description
Bb257689.methods(en-us,office.12).gif CloseUp Removes any spacing before the specified paragraph.
Bb257689.methods(en-us,office.12).gif Indent Indents one or more paragraphs by one level.
Bb257689.methods(en-us,office.12).gif IndentCharWidth Indents a paragraphs by a specified number of characters.
Bb257689.methods(en-us,office.12).gif IndentFirstLineCharWidth Indents the first line of one or more paragraphs by a specified number of characters.
Bb257689.methods(en-us,office.12).gif JoinList Joins a list paragraph with the closest list above or below the specified paragraph.
Bb257689.methods(en-us,office.12).gif ListAdvanceTo Sets the list levels for a paragraph in a list.
Bb257689.methods(en-us,office.12).gif Next Returns a Paragraph object that represents the next paragraph.
Bb257689.methods(en-us,office.12).gif OpenOrCloseUp Toggles the spacing before a paragraph.
Bb257689.methods(en-us,office.12).gif OpenUp Sets spacing before the specified paragraphs to 12 points.
Bb257689.methods(en-us,office.12).gif Outdent Removes one level of indent for one or more paragraphs.
Bb257689.methods(en-us,office.12).gif OutlineDemote Applies the next heading level style (Heading 1 through Heading 8) to the specified paragraph or paragraphs.
Bb257689.methods(en-us,office.12).gif OutlineDemoteToBody Demotes the specified paragraph to body text by applying the Normal style.
Bb257689.methods(en-us,office.12).gif OutlinePromote Applies the previous heading level style (Heading 1 through Heading 8) to the specified paragraph or paragraphs.
Bb257689.methods(en-us,office.12).gif Previous Returns the previous paragraph as a Paragraph object.
Bb257689.methods(en-us,office.12).gif Reset Removes manual paragraph formatting (formatting not applied using a style).
Bb257689.methods(en-us,office.12).gif ResetAdvanceTo Resets a paragraph that uses custom list levels to the original level settings.
Bb257689.methods(en-us,office.12).gif SelectNumber Selects the number or bullet in a list.
Bb257689.methods(en-us,office.12).gif SeparateList Separates a list into two separate lists. For numbered lists, the new list restarts numbering at the starting number, usually 1.
Bb257689.methods(en-us,office.12).gif Space1 Single-spaces the specified paragraphs.
Bb257689.methods(en-us,office.12).gif Space15 Formats the specified paragraphs with 1.5-line spacing.
Bb257689.methods(en-us,office.12).gif Space2 Double-spaces the specified paragraphs.
Bb257689.methods(en-us,office.12).gif TabHangingIndent Sets a hanging indent to a specified number of tab stops.
Bb257689.methods(en-us,office.12).gif TabIndent Sets the left indent for the specified paragraphs to a specified number of tab stops.

Properties

  Name Description
Bb257689.properties(en-us,office.12).gif AddSpaceBetweenFarEastAndAlpha True if Microsoft Word is set to automatically add spaces between Japanese and Latin text for the specified paragraphs. This property returns wdUndefined if it’s set to True for only some of the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif AddSpaceBetweenFarEastAndDigit True if Microsoft Word is set to automatically add spaces between Japanese text and numbers for the specified paragraphs. This property returns wdUndefined if it’s set to True for only some of the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif Alignment Returns or sets a WdParagraphAlignment constant that represents the alignment for the specified paragraphs. Read/write.
Bb257689.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257689.properties(en-us,office.12).gif AutoAdjustRightIndent True 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. Returns wdUndefined if the AutoAdjustRightIndent property is set to True for only some of the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif BaseLineAlignment Returns or sets a WdBaselineAlignment constant that represents the vertical position of fonts on a line. Read/write.
Bb257689.properties(en-us,office.12).gif Borders Returns a Borders collection that represents all the borders for the specified paragraph.
Bb257689.properties(en-us,office.12).gif 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. Read/write Single.
Bb257689.properties(en-us,office.12).gif CharacterUnitLeftIndent Returns or sets the left indent value (in characters) for the specified paragraphs. Read/write Single.
Bb257689.properties(en-us,office.12).gif CharacterUnitRightIndent Returns or sets the right indent value (in characters) for the specified paragraphs. Read/write Single.
Bb257689.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257689.properties(en-us,office.12).gif DisableLineHeightGrid True if Microsoft Word aligns characters in the specified paragraphs to the line grid when a set number of lines per page is specified. Returns wdUndefined if the DisableLineHeightGrid property is set to True for only some of the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif DropCap Returns a DropCap object that represents a dropped capital letter for the specified paragraph. Read-only.
Bb257689.properties(en-us,office.12).gif FarEastLineBreakControl True if Microsoft Word applies East Asian line-breaking rules to the specified paragraphs. Returns wdUndefined if the FarEastLineBreakControl property is set to True for only some of the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif FirstLineIndent Returns 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. Read/write Single.
Bb257689.properties(en-us,office.12).gif Format Returns or sets a ParagraphFormat object that represents the formatting of the specified paragraph or paragraphs.
Bb257689.properties(en-us,office.12).gif HalfWidthPunctuationOnTopOfLine True if Microsoft Word changes punctuation symbols at the beginning of a line to half-width characters for the specified paragraphs. This property returns wdUndefined if it’s set to True for only some of the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif HangingPunctuation True if hanging punctuation is enabled for the specified paragraphs. This property returns wdUndefined if it’s set to True for only some of the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif Hyphenation True if the specified paragraphs are included in automatic hyphenation. False if the specified paragraphs are to be excluded from automatic hyphenation. Read/write Long.
Bb257689.properties(en-us,office.12).gif ID Returns or sets the identifying label for the specified object when the current document is saved as a Web page. Read/write String.
Bb257689.properties(en-us,office.12).gif IsStyleSeparator True if a paragraph contains a special hidden paragraph mark that allows Microsoft Word to appear to join paragraphs of different paragraph styles. Read-only Boolean.
Bb257689.properties(en-us,office.12).gif KeepTogether True if all lines in the specified paragraph remain on the same page when Microsoft Word repaginates the document. Read/write Long.
Bb257689.properties(en-us,office.12).gif KeepWithNext True if the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document. Read/write Long.
Bb257689.properties(en-us,office.12).gif LeftIndent Returns or sets a Single that represents the left indent value (in points) for the specified paragraph. Read/write.
Bb257689.properties(en-us,office.12).gif LineSpacing Returns or sets the line spacing (in points) for the specified paragraphs. Read/write Single.
Bb257689.properties(en-us,office.12).gif LineSpacingRule Returns or sets the line spacing for the specified paragraph. Read/write WdLineSpacing.
Bb257689.properties(en-us,office.12).gif LineUnitAfter Returns or sets the amount of spacing (in gridlines) after the specified paragraph. Read/write Single.
Bb257689.properties(en-us,office.12).gif LineUnitBefore Returns or sets the amount of spacing (in gridlines) before the specified paragraph. Read/write Single.
Bb257689.properties(en-us,office.12).gif ListNumberOriginal Returns an Integer that represents the original list level for a paragraph. Read-only.
Bb257689.properties(en-us,office.12).gif MirrorIndents Returns or sets a Long that represents whether left and right indents are the same width. Can be True, False, or wdUndefined. Read/write.
Bb257689.properties(en-us,office.12).gif NoLineNumber True if line numbers are repressed for the specified paragraph. Read/write Long.
Bb257689.properties(en-us,office.12).gif OutlineLevel Returns or sets the outline level for the specified paragraph. Read/write WdOutlineLevel.
Bb257689.properties(en-us,office.12).gif PageBreakBefore True if a page break is forced before the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Paragraph object.
Bb257689.properties(en-us,office.12).gif Range Returns a Range object that represents the portion of a document that is contained within the specified paragraph.
Bb257689.properties(en-us,office.12).gif ReadingOrder Returns or sets the reading order of the specified paragraph without changing the alignment. Read/write WdReadingOrder.
Bb257689.properties(en-us,office.12).gif RightIndent Returns or sets the right indent (in points) for the specified paragraph. Read/write Single.
Bb257689.properties(en-us,office.12).gif Shading Returns a Shading object that refers to the shading formatting for the specified paragraph.
Bb257689.properties(en-us,office.12).gif SpaceAfter Returns or sets the amount of spacing (in points) after the specified paragraph or text column. Read/write Single.
Bb257689.properties(en-us,office.12).gif SpaceAfterAuto True if Microsoft Word automatically sets the amount of spacing after the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif SpaceBefore Returns or sets the spacing (in points) before the specified paragraphs. Read/write Single.
Bb257689.properties(en-us,office.12).gif SpaceBeforeAuto True if Microsoft Word automatically sets the amount of spacing before the specified paragraphs. Read/write Long.
Bb257689.properties(en-us,office.12).gif Style Returns or sets the style for the specified object. Read/write Variant.
Bb257689.properties(en-us,office.12).gif TabStops Returns or sets a TabStops collection that represents all the custom tab stops for the specified paragraph. Read/write.
Bb257689.properties(en-us,office.12).gif TextboxTightWrap Returns or sets a WdTextboxTightWrap constant that represents how tightly text wraps around shapes or text boxes. Read/write.
Bb257689.properties(en-us,office.12).gif WidowControl True if the first and last lines in the specified paragraph remain on the same page as the rest of the paragraph when Word repaginates the document. Read/write Long.
Bb257689.properties(en-us,office.12).gif WordWrap True if Microsoft Word wraps Latin text in the middle of a word in the specified paragraphs or text frames. Read/write Long.