TextRange Methods
Include Protected Members
Include Inherited Members
The TextRange type exposes the following members.
Methods
Name | Description | |
---|---|---|
_Index(Int32) | Reserved for internal use. (Inherited from Collection.) | |
_Index(Int32) | Reserved for internal use. | |
AddPeriods | Adds a period at the end of each paragraph in the specified text. | |
ChangeCase | Changes the case of the specified text. | |
Characters | Returns a TextRange object that represents the specified subset of text characters. For information about counting or looping through the characters in a text range, see the TextRange object. | |
Copy | Copies the specified object to the Clipboard. | |
Cut | Deletes the specified object and places it on the Clipboard. | |
Delete | Deletes the specified TextRange object. | |
Find | Finds the specified text in a text range, and returns a TextRange object that represents the first text range where the text is found. Returns a null reference (Nothing in Visual Basic) if no match is found. | |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from Collection.) | |
GetEnumerator() | Returns an enumerator that iterates through the collection. | |
InsertAfter | Appends a string to the end of the specified text range. Returns a TextRange object that represents the appended text. When used without an argument, this method returns a zero-length string at the end of the specified range. | |
InsertBefore | Appends a string to the beginning of the specified text range. Returns a TextRange object that represents the appended text. When used without an argument, this method returns a zero-length string at the end of the specified range. | |
InsertDateTime | Inserts the date and time in the specified text range. Returns a TextRange object that represents the inserted text. | |
InsertSlideNumber | Inserts the slide number of the current slide into the specified text range. Returns a TextRange object that represents the slide number. | |
InsertSymbol | Returns a TextRange object that represents a symbol inserted into the specified text range. | |
Lines | Returns a TextRange object that represents the specified subset of text lines. For information about counting or looping through the lines in a text range, see the TextRange object. | |
LtrRun | Sets the direction of text in a text range to read from left to right. | |
Paragraphs | Returns a TextRange object that represents the specified subset of text paragraphs. | |
Paste | Pastes the text on the Clipboard into the specified text range, and returns a TextRange object that represents the pasted text. | |
PasteSpecial | Replaces the text range with the contents of the Clipboard in the format specified. | |
RemovePeriods | Removes the period at the end of each paragraph in the specified text. | |
Replace | Finds specific text in a text range, replaces the found text with a specified string, and returns a TextRange object that represents the first occurrence of the found text. Returns a null reference (Nothing in Visual Basic) if no match is found. | |
RotatedBounds | Returns the coordinates of the vertices of the text bounding box for the specified text range. | |
RtlRun | Sets the direction of text in a text range to read from right to left. | |
Runs | Returns a TextRange object that represents the specified subset of text runs. A text run consists of a range of characters that share the same font attributes. | |
Select | Selects the specified object. | |
Sentences | Returns a TextRange object that represents the specified subset of text sentences. | |
TrimText | Returns a TextRange object that represents the specified text minus any trailing spaces. | |
Words | Returns a TextRange object that represents the specified subset of text words. |
Top