VegaRise.NET
Back to VDocs

SaveAsPdfMethod

Definition

Namespace
DOM
Assembly
VDocs.dll

Overloads

SaveAsPdf(string filePath)

Saves the document as a PDF file.

SaveAsPdf(Stream output)

Saves the document as PDF to a stream. The stream is left open.

SaveAsPdf(string filePath)

SaveAsPdf(string filePath)

Saves the document as a PDF file.

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.

SaveAsPdf(Stream output)

SaveAsPdf(Stream output)

Saves the document as PDF to a stream. The stream is left open.

Parameters

output
A writable stream.

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.