Click or drag to resize

PdfTextSubtext(Int32) Method

Retrieves a subtext from this instance. The subtext starts at a specified character position and continues to the end of the text.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.7.1
Syntax
public PdfText Subtext(
	int startIndex
)

Parameters

startIndex  Int32
The zero-based starting character position of a subtext in this instance.

Return Value

PdfText
A PdfText that is equivalent to the subtext that begins at startIndex in this instance.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionstartIndex is less than zero or greater than the length of this instance.
See Also