_ParagraphFormat Methods

The _ParagraphFormat type exposes the following members.

  NameDescription
Public method CloseUp Removes any spacing before the specified paragraphs.
Public method IndentCharWidth Indents one or more paragraphs by a specified number of characters.
Public method IndentFirstLineCharWidth Indents the first line of 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 Reset Removes manual paragraph formatting (formatting not applied using a style). For example, if you manually right align a paragraph and the underlying style has a different alignment, the Reset method changes the alignment to match the formatting of the underlying style.
Public method Space1 Single-spaces the specified paragraphs. The exact spacing is determined by the font size of the largest characters in each paragraph.
Public method Space15 Formats the specified paragraphs with 1.5-line spacing. The exact spacing is determined by adding 6 points to the font size of the largest character in each paragraph.
Public method Space2 Double-spaces the specified paragraphs. The exact spacing is determined by adding 12 points to the font size of the largest character in each paragraph.
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

Community Additions

ADD
Show:
© 2014 Microsoft