Skip to content

PDFPageProxy.cleanup method

PDFPageProxy › cleanup

Unofficial

Cleans up resources held by the page.

Signature:

cleanup(resetStats?: boolean | undefined): boolean

Parameters:

Parameter Type Description
resetStats? boolean | undefined Whether to reset statistics.

Returns: booleanWhether cleanup was performed.