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
VegaRiseVDocs.NET

Reset Password

Enter your email and we'll send you a link to reset your password.

Remember your password? Sign in