FoxitPDFSDKforWeb  v9.2.1
Foxit PDF SDK for Web
Disposable Class Reference
Inheritance diagram for Disposable:
AnnotationAuthorityManager Appearance Controller CreateAnnotationService CreateFreeTextCalloutService CustomOptionsUpdater IFloatingTooltip PDFDoc PDFViewer ScrollWrap TextSelectionTool

Public Member Functions

 addDestroyHook (...hooks)
 
 destroy ()
 

Detailed Description

Member Function Documentation

◆ addDestroyHook()

Disposable::addDestroyHook (   hooks)
inline

Add a function to destroyHooks list, which will be called during destroy.

Parameters
hooksArray<Disposable|Function>
Returns
Function - A function to remove these hooks

◆ destroy()

Disposable::destroy ( )
inline

Destroy this object. All of the destroy hook will be called and cleared.

Foxit Software Corporation Logo
@2023 Foxit Software Incorporated. All rights reserved.