ITextParagraphFormat Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the default paragraph formatting attributes of a document, or the current paragraph formatting attributes of a text range.
public interface class ITextParagraphFormat
/// [Windows.Foundation.Metadata.Guid(563834079, 3339, 22273, 184, 161, 108, 144, 107, 62, 187, 225)]
/// [Windows.Foundation.Metadata.Version(1)]
struct ITextParagraphFormat
[Windows.Foundation.Metadata.Guid(563834079, 3339, 22273, 184, 161, 108, 144, 107, 62, 187, 225)]
[Windows.Foundation.Metadata.Version(1)]
public interface ITextParagraphFormat
Public Interface ITextParagraphFormat
- Attributes
Properties
Alignment |
Gets or sets the paragraph alignment. |
FirstLineIndent |
Gets the amount used to indent the first line of a paragraph relative to the left indent. |
KeepTogether |
Gets or sets whether page breaks are allowed in paragraphs. |
KeepWithNext |
Gets or sets whether page breaks are allowed between paragraphs in a range. |
LeftIndent |
Gets the amount used to indent all lines except the first line of a paragraph. |
LineSpacing |
Gets the paragraph line-spacing value. |
LineSpacingRule |
Gets the paragraph line-spacing rule. |
ListAlignment |
Gets or sets the alignment to use for bulleted and numbered lists. |
ListLevelIndex |
Gets or sets the list level index used with paragraphs. |
ListStart |
Gets or sets the starting value or code of a list numbering sequence. |
ListStyle |
Gets or sets the style used to mark the item paragraphs in a list. |
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 |
Gets or sets the kind of characters used to mark the item paragraphs in a list. |
NoLineNumber |
Gets or sets whether paragraph numbering is suppressed. |
PageBreakBefore |
Gets or sets whether there is a page break before a paragraph. |
RightIndent |
Gets or sets the right margin of a paragraph. |
RightToLeft |
Gets or sets whether the paragraph uses right-to-left formatting. |
SpaceAfter |
Gets or sets the amount of vertical space that follows a paragraph. |
SpaceBefore |
Gets or sets the amount of vertical space above a paragraph. |
Style |
Gets or sets the paragraph style. |
TabCount |
Retrieves the tab count. |
WidowControl |
Gets or sets whether widow and orphan suppression is on or off. |
Methods
AddTab(Single, TabAlignment, TabLeader) |
Adds a new tab at the specified position. |
ClearAllTabs() |
Clears all tabs, reverting to equally spaced tabs with the default tab spacing. |
DeleteTab(Single) |
Deletes the tab at the specified position. |
GetClone() |
Creates a new object that is identical to this paragraph format object. |
GetTab(Int32, Single, TabAlignment, TabLeader) |
Retrieves information about the specified tab. |
IsEqual(ITextParagraphFormat) |
Determines whether this paragraph format object has the same properties as the specified paragraph format object. |
SetClone(ITextParagraphFormat) |
Sets the paragraph formatting by copying another paragraph formatting object. |
SetIndents(Single, Single, Single) |
Sets the first-line indent, the left indent, and the right indent for a paragraph. |
SetLineSpacing(LineSpacingRule, Single) |
Sets the paragraph line-spacing rule and the amount of line spacing for a paragraph. |