Skip to content

PDFPageProxy.getTextContent method

PDFPageProxy › getTextContent

Unofficial

Gets the text content of the page.

Signature:

getTextContent(params?: GetTextContentParams | undefined): Promise<TextContent>

Parameters:

Parameter Type Description
params? GetTextContentParams | undefined Optional parameters including includeMarkedContent and disableNormalization.

Returns: Promise<TextContent>A promise resolving to the text content.