VegaRise.NET
Back to VDocs

SaveAsWordMethod

Definition

Namespace
DOM
Assembly
VDocs.dll

Saves the document as a Word (.docx) file.

SaveAsWord(string filePath)

Parameters

filePath
The destination path for the saved document.

Remarks

This method saves the document in the native Word XML format (.docx), which can be opened in Microsoft Word, LibreOffice, and other word processors. 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();
2doc.AddParagraph().AddText("Hello, World!");
3doc.SaveAsWord("hello.docx");
4
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.