Click or drag to resize

TextBodySelection Class

Represents a selection of part of text body.
Inheritance Hierarchy
System Object
Spire.Doc.Documents TextBodySelection

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class TextBodySelection

The TextBodySelection type exposes the following members.

Constructors
Name Description
Public method TextBodySelection(ParagraphBase, ParagraphBase)
Initializes a new instance of the TextBodySelection class.
Public method TextBodySelection(IBody, Int32, Int32, Int32, Int32)
Initializes a new instance of the TextBodySelection class.
Top
Properties
Name Description
Public property ItemEndIndex
Gets or sets the end index of the text body item.
Public property ItemStartIndex
Gets or sets the start index of the text body item.
Public property ParagraphItemEndIndex
Gets or sets the end index of the paragraph item.
Public property ParagraphItemStartIndex
Gets or sets the start index of the paragraph item.
Public property TextBody
Gets the text body.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also