Skip to content

PDFPageProxy.getTextContent method

PDFPageProxy › getTextContent

Unofficial

Gets the text content of the page.

Signature:

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

Parameters:

ParameterTypeDescription
params?GetTextContentParamsOptional parameters including includeMarkedContent and disableNormalization.

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