TextSelection Constructor (Paragraph, Int32, Int32)
|
Initializes a new instance of the TextSelection class with the specified paragraph and character positions.
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public TextSelection(
Paragraph para,
int startCharPos,
int endCharPos
)
Public Sub New (
para As Paragraph,
startCharPos As Integer,
endCharPos As Integer
)
public:
TextSelection(
Paragraph^ para,
int startCharPos,
int endCharPos
)
new :
para : Paragraph *
startCharPos : int *
endCharPos : int -> TextSelection
Parameters
-
para
-
Type:
Spire.Doc.Documents
Paragraph
The paragraph containing the text selection.
-
startCharPos
-
Type:
System
Int32
The starting character position of the selection.
-
endCharPos
-
Type:
System
Int32
The ending character position of the selection.
See Also