Removes all the Undo and Redo history that relates to this TextDocument. Syntax Parameters includeRootTransaction Indicates whether this method should affect the current open RootTransaction on the UndoManager if there is one. Remarks Note: this is equivalent to calling the UndoManagers RemoveAll method with a fil...
Returns a DocumentTagAggregator that can aggregate ITags of type T. Syntax Type Parameters T The type of Infragistics.Documents.Tagging.ITag to aggregate
Returns a snapshot representing the current version of the document (read-only). Syntax Property Value A thread-safe immutable snapshot of the current version of the document Remarks Note: Every time a change is made to the document a new snapshot is created. Each snapshot is thread-safe and immutable.
Removes all text from this document. Syntax Return Value True if the operation was successful, otherwise false. Exceptions Exception Description System.InvalidOperationException If the IsReadOnly property is set to true. System.ArgumentOutOfRangeException If startOffset is less than 0 or startOffset plus length gr...
Deletes text from the document, starting at the specified startOffset. Syntax Parameters startOffset The zero-based offset from which the deletion begins. Return Value True if the operation was successful, otherwise false. Exceptions Exception Description System.InvalidOperationException If the IsReadOnly property...
Deletes text from the document Syntax Parameters startOffset The zero-based offset where the text to delete start.length The length of the text to delete. Return Value True if the operation was successful, otherwise false. Exceptions Exception Description System.InvalidOperationException If the IsReadOnly property...
Deletes text from the document Syntax Parameters span The span to delete. Return Value True if the operation was successful, otherwise false. Exceptions Exception Description System.InvalidOperationException If the IsReadOnly property is set to true or if this method is called in the middle of an update operation,...
Removes all text from this document. Overload List
Returns the name of the file passed into the Load(String) method (read-only) Syntax
Finds an instance of text in the document that matches the search criteria and replaces it with another string. Syntax Parameters newText The new textcriteria The search criteriastartOffset The start offsetwrapIfNotFound if true continue the search by wrapping if the end is reached without a match. Return Value A ...