FoxitPDFSDKforWeb  v10.0.0
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
hooksDisposable|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
@2024 Foxit Software Incorporated. All rights reserved.