Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
If you have worked with Microsoft Word Automation, you probably know that one of the main tools to examine and modify document content is theRangeobject.Rangeis like a “window” into the document content and formatting.
Aspose.Words also has theRangeclass and it is designed to look and act similarly toRangein Microsoft Word. AlthoughRangecannot cover an arbitrary portion of a document and does not have aStartandEnd, you can access the range covered by any document node including theDocumentitself. In other words, each node has its own range.TheRangeobject allows you to access and modify text, bookmarks and form fields within the range.
Use the Text property to retrieve plain, unformatted text of the range.
The following code example shows how to get a plain, unformatted text of a range:
Range allows the deletion of all characters of the range by calling Delete.
The following code example shows how to delete all characters of a range:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.