ITextParagraphFormat Interface

Définit les attributs de mise en forme des paragraphes par défaut d'un document, ou les attributs de mise en forme des paragraphes actuels d'une plage de texte.

Syntaxe


public interface ITextParagraphFormat

Attributs

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

Membres

ITextParagraphFormatInterface possède ces types de membres :

Méthodes

The ITextParagraphFormat Interface a les méthodes suivantes. Elle hérite également des méthodes de Object Classe.

MéthodeDescription
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.

 

Propriétés

Le ITextParagraphFormatInterface a les propriétés suivantes.

PropriétéType d'accèsDescription

Alignment

Lecture/écritureGets or sets the paragraph alignment.

FirstLineIndent

En lecture seuleGets the amount used to indent the first line of a paragraph relative to the left indent.

KeepTogether

Lecture/écritureGets or sets whether page breaks are allowed in paragraphs.

KeepWithNext

Lecture/écritureGets or sets whether page breaks are allowed between paragraphs in a range.

LeftIndent

En lecture seuleGets the amount used to indent all lines except the first line of a paragraph.

LineSpacing

En lecture seuleGets the paragraph line-spacing value.

LineSpacingRule

En lecture seuleGets the paragraph line-spacing rule.

ListAlignment

Lecture/écritureGets or sets the alignment to use for bulleted and numbered lists.

ListLevelIndex

Lecture/écritureGets or sets the list level index used with paragraphs.

ListStart

Lecture/écritureGets or sets the starting value or code of a list numbering sequence.

ListStyle

Lecture/écritureGets or sets the style used to mark the item paragraphs in a list.

ListTab

Lecture/écritureGets 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

Lecture/écritureGets or sets the kind of characters used to mark the item paragraphs in a list.

NoLineNumber

Lecture/écritureGets or sets whether paragraph numbering is suppressed.

PageBreakBefore

Lecture/écritureGets or sets whether there is a page break before a paragraph.

RightIndent

Lecture/écritureGets or sets the right margin of a paragraph.

RightToLeft

Lecture/écritureGets or sets whether the paragraph uses right-to-left formatting.

SpaceAfter

Lecture/écritureGets or sets the amount of vertical space that follows a paragraph.

SpaceBefore

Lecture/écritureGets or sets the amount of vertical space above a paragraph.

Style

Lecture/écritureGets or sets the paragraph style.

TabCount

En lecture seuleRetrieves the tab count.

WidowControl

Lecture/écritureGets or sets whether widow and orphan suppression is on or off.

 

Conditions requises

Client minimal pris en charge

Windows 8

Serveur minimal pris en charge

Windows Server 2012

Espace de noms

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

Métadonnées

Windows.winmd

 

 

Afficher:
© 2014 Microsoft