VegaRise.NET
Back to VDocs

SaveAsHtmlMethod

Definition

Namespace
DOM
Assembly
VDocs.dll

Overloads

SaveAsHtml(string filePath)

Saves the document as an HTML file.

SaveAsHtml(Stream output)

Saves the document as HTML (UTF-8, no BOM) to a stream. The stream is left open.

SaveAsHtml(string filePath)

SaveAsHtml(string filePath)

Saves the document as an HTML file.

Parameters

filePath
The target file path for the HTML output.

Remarks

This method saves the document as a standalone HTML file with embedded CSS styling that preserves the document's visual appearance. License validation is performed before saving. If the license is invalid, a warning is written to the console but the operation still proceeds.

SaveAsHtml(Stream output)

SaveAsHtml(Stream output)

Saves the document as HTML (UTF-8, no BOM) to a stream. The stream is left open.

Parameters

output
A writable stream.

Examples

csharp
1var doc = new VDocs("report.docx");
2doc.SaveAsHtml("report.html");
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.