User Guide > How to Work with... > PDF > How to... > Process PDF Using Multiple Threads |
While the ImageGear.Formats.PDF Namespace is thread safe and can be used from the multiple threads, it has some limitations. The ImageGear .NET PDF component must be initialized and terminated on each thread that it is used using ImGearPDF.Initialize() and ImGearPDF.Terminate() methods, respectively. Applications can use ImageGear .NET PDF to process PDF documents with multiple threads, provided that each PDF document is only operated on by the thread that created/opened it. ImageGear .NET PDF objects may only be used by the thread that created it.
Refer to the sample SplitPDFUsingMultipleThreads for an example of an ImageGear .NET PDF multi-threaded operation (see PDF Samples).