Hi
Thank you for your interest in Aspose components. I am
representative of Aspose.Words team. Using Aspose.Words, you can easily convert
your MS Word documents to PNG images. Code is quite simple:
// Open document.
Document doc = new Document(@"Test001\in.docx");
ImageSaveOptions options
= new ImageSaveOptions(SaveFormat.Png);
options.PageCount = 1;
// Save each page of the document as PNG.
for (int i = 0; i < doc.PageCount; i++)
{
options.PageIndex =
i;
doc.Save(string.Format(@"Test001\out_{0}.png",
i), options);
}
In your case,
you will use Aspose components in multiple threads because there can be concurrent
requests to your service. Aspose.Words is multithread safe as long as
only one thread works on a document at a time. It is a typical scenario to have
one thread working on one document. Different threads can safely work on
different documents at the same time.
Using
Aspose.Words you can convert images to PDF. You can find a simple code example
that demonstrates how to achieve this in our documentation:
http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-convert-an-image-to-pdf.html
Best regards,
Alexey Noskov
Developer/Technical Support
Aspose Auckland Team