Foxit PDF SDK
|
Inherits FoxitPDFSDKPython2._object.
Public Member Functions | |
def | OnOutOfMemory () |
A callback function used to notify application when Foxit PDF SDK runs out of memory. More... | |
def | Release () |
A callback function used to release current callback object itself. More... | |
This class represents a callback object to notify the Foxit PDF SDK events. All the pure virtual functions in this class are used as callback functions and should be implemented by user. An implemented NotifierCallback object can be set to Foxit PDF SDK by function FoxitPDFSDKPython2.Library.SetNotifierCallback .
def FoxitPDFSDKPython2.NotifierCallback.OnOutOfMemory | ( | ) |
A callback function used to notify application when Foxit PDF SDK runs out of memory.
When this callback function is triggered, that means Foxit PDF SDK runs out of memory. At this moment, application cannot use any API in Foxit PDF SDK. In this case, application can exit with some warning information, or application is aborted and tried to restart. Here, "restart an application" does not mean to call function FoxitPDFSDKPython2.Library.Reinitialize but to call function FoxitPDFSDKPython2.Library.Initialize again to load Foxit PDF SDK again from the beginning.
def FoxitPDFSDKPython2.NotifierCallback.Release | ( | ) |
A callback function used to release current callback object itself.