ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDF Class / Terminate Method




In This Topic
    Terminate Method (ImGearPDF)
    In This Topic
    Terminates PDF and PS libraries.
    Syntax
    'Declaration
     
    Public Shared Sub Terminate() 
    'Usage
     
    ImGearPDF.Terminate()
    public static void Terminate()
    public: static void Terminate(); 
    public:
    static void Terminate(); 
    Remarks
    Must be paired with an Initialize() method. Call this method when the application is disposed.

    A call to an Initialize() method should be paired with a call to the Terminate method. The very first call to Initialize() will initialize the entire PDF library, while its paired call to Terminate method will de-initialize and release its memory. Multiple PDF initialization/termination pairs are supported in a multi-threaded PDF application, because it is required to initialize and terminate PDF in each child thread.

    See Also