Click or drag to resize

TextSelection Constructor (Paragraph, Paragraph, Int32, Int32)

Initializes a new instance of the TextSelection class.

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public TextSelection(
	Paragraph startPara,
	Paragraph endPara,
	int startCharPos,
	int endCharPos
)

Parameters

startPara
Type: Spire.Doc.Documents Paragraph
endPara
Type: Spire.Doc.Documents Paragraph
startCharPos
Type: System Int32
The start char position.
endCharPos
Type: System Int32
The end char position.
See Also