TextPara Class |
Namespace: TextObjectModel
The TextPara type exposes the following members.
Name | Description | |
---|---|---|
AddTab |
Adds a tab at the displacement position.
| |
ClearAllTabs |
Clears all tabs, reverting to equally spaced tabs with the default tab spacing.
| |
Clone |
Creates a duplicate of the specified paragraph format object.
| |
CopyFrom |
Sets the paragraph formatting by copying another paragraph object.
| |
DeleteTab |
Deletes a tab at a specified displacement.
| |
Dispose | Releases all resources used by the TextPara | |
Dispose(Boolean) | Releases the unmanaged resources used by the TextPara and optionally releases the managed resources | |
Equals(Object) |
Tests if this TextPara is considered equal to another object.
(Overrides ObjectEquals(Object).) | |
Equals(TextPara) |
Tests if this TextPara is considered equal to another.
| |
Finalize | (Overrides ObjectFinalize.) | |
GetBorders |
(TOM 2 only)
Gets the borders collection.
| |
GetHashCode |
Calculates a hash code for this object.
(Overrides ObjectGetHashCode.) | |
GetProperty |
(TOM 2 only)
Gets the value of a property.
| |
GetTab(Int32) |
Retrieves tab displacement for the specified tab.
| |
GetTab(TabRelativePosition, Single) |
Retrieves tab displacement for the specified tab.
| |
Reset |
Resets the paragraph formatting to the default values.
| |
SetIndents |
Sets the first-line indent, the left indent, and the right indent for a paragraph.
| |
SetProperty |
(TOM 2 only)
Sets the value of the specified property.
|
Name | Description | |
---|---|---|
Alignment |
Gets or sets the current paragraph alignment value.
| |
CanChange |
Determines whether the paragraph formatting can be changed.
| |
Effects |
(TOM 2 only)
Gets or sets the character format effects.
| |
FirstLineIndent |
Gets the amount used to indent the first line of a paragraph
relative to the left indent. The left indent is the indent
for all lines of the paragraph except the first line.
| |
FontAlignment |
(TOM 2 only)
Gets or sets the paragraph font alignment state.
| |
HangingPunctuation |
(TOM 2 only)
Gets or sets whether to hang punctuation symbols on the right margin when the paragraph is justified.
| |
Hyphenation |
Gets or sets the current paragraph alignment value.
| |
LeftIndent |
Gets the distance used to indent all lines except the
first line of a paragraph. The distance is relative to the
left margin.
| |
ListAlignment |
Gets or sets the kind of alignment to use for bulleted and numbered lists.
| |
ListBulletChar |
Gets or sets the Unicode character (>32) to use for bullets.
| |
ListLevelIndex |
Gets or sets the list level index used with paragraphs.
| |
ListNumberingFormat |
Gets or sets the format to use with a numbered list.
| |
ListStart |
Gets or sets the starting value or code of a list numbering sequence.
| |
ListTab |
Retrieves the list tab setting, which is the distance
between the first-line indent and the text on the first
line. The numbered or bulleted text is left-justified,
centered, or right-justified at the first-line indent value.
| |
ListType |
Gets or sets the kind of numbering to use with paragraphs.
| |
ListTypeInternal |
Gets or sets the kind of numbering to use with paragraphs.
| |
RightIndent |
Gets or sets the size of the right margin indent of a paragraph.
| |
SnapToGrid |
(TOM 2 only)
Gets or sets whether paragraph lines snap to a vertical grid that could be defined for the whole document.
| |
SpaceAfter |
Gets or sets the amount of vertical space below a paragraph.
| |
SpaceBefore |
Gets or sets the amount of vertical space above a paragraph.
| |
Style |
Gets or sets the style handle to the paragraphs in the specified range.
| |
TabCount |
Retrieves the tab count.
| |
TrimPunctuationAtStart |
(TOM 2 only)
Gets or sets whether to trim the leading space of a punctuation symbol at the start of a line.
|
Managed wrapper class for the COM interface ITextPara, including ITextPara2 functionality.
Most properties of this class are implemented using nullable types. If a property returns null, its value is undefined. Properties may be undefined if the range spans several paragraph formats.