Skip to content

PDFPageProxy.cleanup method

PDFPageProxy › cleanup

Unofficial

Cleans up resources held by the page.

Signature:

cleanup(resetStats?: boolean | undefined): boolean

Parameters:

ParameterTypeDescription
resetStats?boolean | undefinedWhether to reset statistics.

Returns: booleanWhether cleanup was performed.