VegaRise.NET
Back to VDocs

GetHTMLMethod

Definition

Namespace
DOM
Assembly
VDocs.dll

Returns an HTML representation of the document.

GetHTML()

Returns

An HTML string representing the document content.

Remarks

This method converts the document to HTML format with CSS styling that preserves the document's visual appearance as much as possible. License validation is performed before conversion. If the license is invalid, a warning is written to the console but the conversion still proceeds.

Examples

csharp
1var doc = new VDocs("document.docx");
2string html = doc.GetHTML();
3
4// Use the HTML in a web page
5File.WriteAllText("output.html", html);
6
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.