Click or drag to resize

PdfContentGroupGetText(PdfTextOptions) Method

Gets the snapshot of text contained in this PdfContentGroup using the specified text options.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.7.1
Syntax
public PdfText GetText(
	PdfTextOptions options
)

Parameters

options  PdfTextOptions
The options used for extracting text from this PdfContentGroup.

Return Value

PdfText
The snapshot of text contained in this PdfContentGroup extracted using the specified text options.
Exceptions
ExceptionCondition
ArgumentNullExceptionoptions is .
Remarks
The PdfText is a snapshot and if the underlying PDF content is changed, that change won't be visible in the PdfText, instead PdfText should be retrieved again to get the actual snapshot.
See Also