ImageGear PDF v25.2 - Updated
Process PDF Using Multiple Threads
Developer 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 PDF component must be initialized and terminated on each thread when it is used using ImGearPDF.Initialize() and ImGearPDF.Terminate() methods, respectively. Applications can use ImageGear 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 PDF objects may only be used by the thread that created it.

Refer to the sample SplitPDFUsingMultipleThreads for an example of an ImageGear PDF multi-threaded operation (see PDF Samples).

Is this page helpful?
Yes No
Thanks for your feedback.