ITextParagraphFormat ITextParagraphFormat ITextParagraphFormat ITextParagraphFormat Interface

Definition

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

public : interface ITextParagraphFormat
struct winrt::Windows::UI::Text::ITextParagraphFormat
public interface ITextParagraphFormat
Public Interface ITextParagraphFormat
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Alignment Alignment Alignment Alignment

Gets or sets the paragraph alignment.

FirstLineIndent FirstLineIndent FirstLineIndent FirstLineIndent

Gets the amount used to indent the first line of a paragraph relative to the left indent.

KeepTogether KeepTogether KeepTogether KeepTogether

Gets or sets whether page breaks are allowed in paragraphs.

KeepWithNext KeepWithNext KeepWithNext KeepWithNext

Gets or sets whether page breaks are allowed between paragraphs in a range.

LeftIndent LeftIndent LeftIndent LeftIndent

Gets the amount used to indent all lines except the first line of a paragraph.

LineSpacing LineSpacing LineSpacing LineSpacing

Gets the paragraph line-spacing value.

LineSpacingRule LineSpacingRule LineSpacingRule LineSpacingRule

Gets the paragraph line-spacing rule.

ListAlignment ListAlignment ListAlignment ListAlignment

Gets or sets the alignment to use for bulleted and numbered lists.

ListLevelIndex ListLevelIndex ListLevelIndex ListLevelIndex

Gets or sets the list level index used with paragraphs.

ListStart ListStart ListStart ListStart

Gets or sets the starting value or code of a list numbering sequence.

ListStyle ListStyle ListStyle ListStyle

Gets or sets the style used to mark the item paragraphs in a list.

ListTab ListTab ListTab ListTab

Gets 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 ListType ListType ListType

Gets or sets the kind of characters used to mark the item paragraphs in a list.

NoLineNumber NoLineNumber NoLineNumber NoLineNumber

Gets or sets whether paragraph numbering is suppressed.

PageBreakBefore PageBreakBefore PageBreakBefore PageBreakBefore

Gets or sets whether there is a page break before a paragraph.

RightIndent RightIndent RightIndent RightIndent

Gets or sets the right margin of a paragraph.

RightToLeft RightToLeft RightToLeft RightToLeft

Gets or sets whether the paragraph uses right-to-left formatting.

SpaceAfter SpaceAfter SpaceAfter SpaceAfter

Gets or sets the amount of vertical space that follows a paragraph.

SpaceBefore SpaceBefore SpaceBefore SpaceBefore

Gets or sets the amount of vertical space above a paragraph.

Style Style Style Style

Gets or sets the paragraph style.

TabCount TabCount TabCount TabCount

Retrieves the tab count.

WidowControl WidowControl WidowControl WidowControl

Gets or sets whether widow and orphan suppression is on or off.

Methods

AddTab(Single, TabAlignment, TabLeader) AddTab(Single, TabAlignment, TabLeader) AddTab(Single, TabAlignment, TabLeader) AddTab(Single, TabAlignment, TabLeader)

Adds a new tab at the specified position.

ClearAllTabs() ClearAllTabs() ClearAllTabs() ClearAllTabs()

Clears all tabs, reverting to equally spaced tabs with the default tab spacing.

DeleteTab(Single) DeleteTab(Single) DeleteTab(Single) DeleteTab(Single)

Deletes the tab at the specified position.

GetClone() GetClone() GetClone() GetClone()

Creates a new object that is identical to this paragraph format object.

GetTab(Int32, Single, TabAlignment, TabLeader) GetTab(Int32, Single, TabAlignment, TabLeader) GetTab(Int32, Single, TabAlignment, TabLeader) GetTab(Int32, Single, TabAlignment, TabLeader)

Retrieves information about the specified tab.

IsEqual(ITextParagraphFormat) IsEqual(ITextParagraphFormat) IsEqual(ITextParagraphFormat) IsEqual(ITextParagraphFormat)

Determines whether this paragraph format object has the same properties as the specified paragraph format object.

SetClone(ITextParagraphFormat) SetClone(ITextParagraphFormat) SetClone(ITextParagraphFormat) SetClone(ITextParagraphFormat)

Sets the paragraph formatting by copying another paragraph formatting object.

SetIndents(Single, Single, Single) SetIndents(Single, Single, Single) SetIndents(Single, Single, Single) SetIndents(Single, Single, Single)

Sets the first-line indent, the left indent, and the right indent for a paragraph.

SetLineSpacing(LineSpacingRule, Single) SetLineSpacing(LineSpacingRule, Single) SetLineSpacing(LineSpacingRule, Single) SetLineSpacing(LineSpacingRule, Single)

Sets the paragraph line-spacing rule and the amount of line spacing for a paragraph.