WordML to PDF

Can we convert WordML documents to PDF using Aspose.Pdf on an asp.net website?

Hi Ben,

Thanks for your inquiry. No, you need to use Aspose.Words to convert WordML to PDF. Please use following code example to convert WordML to PDF and download latest version of Aspose.Words for .NET from here:

Download Aspose.Words for .NET 17.5

// Load the WordML into Aspose.Words' DOM
Document doc = new Document(MyDir + @"input.xml");
// Save the document to PDF
doc.Save(MyDir + @"output.pdf", SaveFormat.Pdf);