Edit

Share via


ParagraphFormat2 Interface

Definition

Represents the paragraph formatting of a text range.

public interface class ParagraphFormat2 : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0399-0000-0000-C000-000000000046")]
public interface ParagraphFormat2 : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0399-0000-0000-C000-000000000046")>]
type ParagraphFormat2 = interface
    interface _IMsoDispObj
Public Interface ParagraphFormat2
Implements _IMsoDispObj
Attributes
Implements

Properties

Alignment

Gets or sets a value specifying the alignment of the paragraph. Read/write.

Application

Gets an object that represents the application that contains the object. Read-only.

BaselineAlignment

Gets or sets a constant that represents the vertical position of fonts in a paragraph. Read/write.

Bullet

Gets a BulletFormat2 object for the paragraph. Read-only.

Creator

Gets a value representing the application that created the ParagraphFormat2 object. Read-only.

FarEastLineBreakLevel

Gets or sets the East Asian line break control level for the specified paragraph. Read/write.

FirstLineIndent

Gets or sets the value (in points) for a first line or hanging indent. Read/write.

HangingPunctuation

Determines whether hanging punctuation is enabled for the specified paragraphs. Read/write.

IndentLevel

Gets or sets a value representing the indent level assigned to text in the selected paragraph. Read/write.

LeftIndent

Gets or sets a value that represents the left indent value (in points) for the specified paragraphs. Read/write.

LineRuleAfter

Determines whether line spacing after the last line in each paragraph is set to a specific number of points or lines. Read/write.

LineRuleBefore

Determines whether line spacing before the first line in each paragraph is set to a specific number of points or lines. Read/write.

LineRuleWithin

Determines whether line spacing between base lines is set to a specific number of points or lines. Read/write.

Parent

Gets the parent object for the ParagraphFormat2 object. Read-only.

RightIndent

Gets or sets the right indent (in points) for the specified paragraphs. Read/write.

SpaceAfter

Gets or sets the amount of spacing (in points) after the specified paragraph. Read/write.

SpaceBefore

Gets or sets the spacing (in points) before the specified paragraphs. Read/write.

SpaceWithin

Gets or sets the amount of space between base lines in the specified paragraph, in points or lines. Read/write.

TabStops

Gets a TabStops2 collection that represents all the custom tab stops for the specified paragraphs. Read-only.

TextDirection

Gets or sets the text direction for the specified paragraph. Read/write.

WordWrap

Determines whether the application wraps the Latin text in the middle of a word in the specified paragraphs. Read/write.

Applies to