Before purchasing your solution, we are trying to validate the integration of your Aspose.Words for .NET solution in Trial License used to convert Word document (.docx) to a PDF document.
The resulting document (in attachment) contains only the evaluation watermark. Is it a normal behavior or are we integrating this in a bad way?
Please find below an extract source code which use your solution:
// load the bytes from a .docx file into a stream. MemoryStream inStream = new MemoryStream(docByte); // Load the stream into a new document object. Document loadDoc = new Document(inStream); // Save the document to a new stream by converting in PDF format. MemoryStream outStream = new MemoryStream(); loadDoc.Save(outStream, SaveFormat.Pdf); // Convert the document to byte form. docByte = outStream.ToArray();
Thanks for your help.