Click or drag to resize

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
)

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