Foxit PDF SDK
fsdk.Library Class Reference

Detailed Description

This class represents the library management. It contains functions to initialize/re-initialize/release Foxit PDF SDK library, and also contains functions for global use.
Any application should load Foxit PDF SDK by function fsdk.LibraryInitialize before calling any other Foxit PDF SDK functions. When there is no need to use Foxit PDF SDK any more, please call function fsdk.LibraryRelease .
Functions in Foxit PDF SDK may throw exception when some error occurs. User can catch these exceptions and check the error code with values starting from fsdk.E_ErrFile to know more about what error occurs.

Note
During the life-cycle of an application, fsdk.LibraryInitialize and fsdk.LibraryRelease should be called in pair and can only be called once. Once fsdk.LibraryRelease is called during the life-cycle of an application, Foxit PDF SDK cannot be initialized any more in the life-cycle of the application. Before fsdk.LibraryRelease is called, if user wants to re-initialize Foxit PDF SDK, please refer to function fsdk.LibraryReinitialize .