Click or drag to resize

ContentRange Methods

The ContentRange type exposes the following members.

Methods
  NameDescription
Public methodCode exampleDelete
Deletes the document content specified with the current ContentRange.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodCode exampleFind(String)
Finds all ContentRanges which contain the specified text.
Public methodCode exampleFind(Regex)
Finds all ContentRanges which match the specified Regex.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleReplace(String)
Replaces the current ContentRange's content with the specified text.
Public methodCode exampleReplace(ContentRange)
Replaces the content of the current ContentRange's with a content specified with the range parameter.
Public methodCode exampleReplace(String, CharacterFormat)
Replaces the current ContentRange's content with the specified text with specific formatting.
Public methodCode exampleReplace(String, HtmlLoadOptions)
Replaces the current ContentRange's content with the specified HTML text.
Public methodCode exampleReplace(String, RtfLoadOptions)
Replaces the current ContentRange's content with the specified RTF text.
Public methodCode exampleReplace(String, TxtLoadOptions)
Replaces the current ContentRange's content with the specified text.
Public methodReplace(ContentRange, ImportSession)
Replaces the content of the current ContentRange's with a content (from another DocumentCore instance) specified with the range parameter.
Public methodCode exampleToString
Returns a plain text that represents this ContentRange instance.
(Overrides ObjectToString.)
Top
See Also