ITextParagraphFormat interface

Applies to Windows and Windows Phone

Defines the default paragraph formatting attributes of a document, or the current paragraph formatting attributes of a text range.

Syntax


public interface ITextParagraphFormat

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The ITextParagraphFormat interface has these types of members:

Methods

The ITextParagraphFormat interface has these methods. It also inherits methods from the Object class.

MethodDescription
AddTab Adds a new tab at the specified position.
ClearAllTabs Clears all tabs, reverting to equally spaced tabs with the default tab spacing.
DeleteTab Deletes the tab at the specified position.
GetClone Creates a new object that is identical to this paragraph format object.
GetTab Retrieves information about the specified tab.
IsEqual Determines whether this paragraph format object has the same properties as the specified paragraph format object.
SetClone Sets the paragraph formatting by copying another paragraph formatting object.
SetIndents Sets the first-line indent, the left indent, and the right indent for a paragraph.
SetLineSpacing Sets the paragraph line-spacing rule and the amount of line spacing for a paragraph.

 

Properties

The ITextParagraphFormat interface has these properties.

PropertyAccess typeDescription

Alignment

Read/writeGets or sets the paragraph alignment.

FirstLineIndent

Read-onlyGets the amount used to indent the first line of a paragraph relative to the left indent.

KeepTogether

Read/writeGets or sets whether page breaks are allowed in paragraphs.

KeepWithNext

Read/writeGets or sets whether page breaks are allowed between paragraphs in a range.

LeftIndent

Read-onlyGets the amount used to indent all lines except the first line of a paragraph.

LineSpacing

Read-onlyGets the paragraph line-spacing value.

LineSpacingRule

Read-onlyGets the paragraph line-spacing rule.

ListAlignment

Read/writeGets or sets the alignment to use for bulleted and numbered lists.

ListLevelIndex

Read/writeGets or sets the list level index used with paragraphs.

ListStart

Read/writeGets or sets the starting value or code of a list numbering sequence.

ListStyle

Read/writeGets or sets the style used to mark the item paragraphs in a list.

ListTab

Read/writeGets or sets the list tab setting, which is the distance between the first indent and the start of the text on the first line.

ListType

Read/writeGets or sets the kind of characters used to mark the item paragraphs in a list.

NoLineNumber

Read/writeGets or sets whether paragraph numbering is suppressed.

PageBreakBefore

Read/writeGets or sets whether there is a page break before a paragraph.

RightIndent

Read/writeGets or sets the right margin of a paragraph.

RightToLeft

Read/writeGets or sets whether the paragraph uses right-to-left formatting.

SpaceAfter

Read/writeGets or sets the amount of vertical space that follows a paragraph.

SpaceBefore

Read/writeGets or sets the amount of vertical space above a paragraph.

Style

Read/writeGets or sets the paragraph style.

TabCount

Read-onlyRetrieves the tab count.

WidowControl

Read/writeGets or sets whether widow and orphan suppression is on or off.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft