Export: PDF
SaveAsPdf renders the same DOM to a PDF file. Text formatting, images, tables, shapes, and effects are honored.
C#
1using Vega;
2
3var doc = VDocs.OpenFromWord("report.docx");
4doc.LicensePath = "license.vegalic";
5doc.SaveAsPdf("report.pdf");
Related API
Frequently asked questions
Is the PDF output similar to Word?
Yes — the PDF renderer walks the same DOM, so structure, styling, and layout closely match the Word version.
Can I generate a PDF without a Word file?
Yes — create a VDocs instance, build content, then call SaveAsPdf directly.