ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.Formats.PDF Namespace > Using PDF from Multiple Threads |
While the ImageGear.Formats.PDF Namespace is thread safe and can be used from the multiple threads, it has some limitations. The PDF component must be initialized on the main/parent thread. Each child thread, before calling to the PDF component methods, should initialize it using ImGearPDF.Initialize Method. Each child thread should also terminate the PDF component using ImGearPDF.Terminate Method when done using it. You can process multiple PDF documents from the multiple threads as long as each document is operated on the thread that created/opened this document.