VegaRise.NET
Back to VDocs

SaveAsPdfMethod

Definition

Namespace
DOM
Assembly
VDocs.dll

Saves the document as a PDF file.

SaveAsPdf(string filePath)

Parameters

filePath
The destination path for the generated PDF file.

Remarks

This method generates a PDF document that closely matches the original document's appearance, including text formatting, images, tables, and shapes. License validation is performed before saving. If the license is invalid, a warning is written to the console but the operation still proceeds.

Examples

csharp
1var doc = new VDocs("report.docx");
2doc.SaveAsPdf("report.pdf");
3
VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.