PdfTextSubtext(Int32, Int32) Method |
Retrieves a subtext from this instance. The subtext starts at a specified character position and has a specified length.
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.7.1
Syntaxpublic PdfText Subtext(
int startIndex,
int length
)
Public Function Subtext (
startIndex As Integer,
length As Integer
) As PdfText
Parameters
- startIndex Int32
- The zero-based starting character position of a subtext in this instance.
- length Int32
- The number of characters in the subtext.
Return Value
PdfTextA
PdfText that is equivalent to the subtext of
length that begins at
startIndex in this instance.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | startIndex plus length indicates a position not within this instance or startIndex or length is less than zero. |
See Also