Skip to content
ComPDF
Guides

Release library resources

Overview

Releases the files and memory resources occupied by the ComPDF Conversion SDK.

Notice

  • After calling this interface to release library resources, the ComPDF Conversion SDK will no longer function properly and must be reloaded.
  • When you only want to release the resources occupied by the AI model rather than all resources used by the ComPDF Conversion SDK, you can achieve this by calling the ReleaseDocumentAIModel interface.

Sample

c#
// Release AI Model resources.
LibraryManager.ReleaseDocumentAIModel();

// Release library resources.
LibraryManager.Release();