VDocs

VDocs _

Build and manipulate Word documents using our abstracted document model — no Word Interop, no OpenXML SDK, no third-party wrappers.

View Documentation
                    
                    
using Vega.DOM;
using Vega.Enums;

internal class Program
{
    private static void Main(string[] args)
    {
        var doc = new WordDocument();
        var image1 = doc.AddParagraph()
        .AddImage(new Image("c:/image.jpg"));
        image1.Transform.Dimensions = new Dimensions
        {
            Height = new DocumentUnit { Point = 200 },
            Width = new DocumentUnit { Inch = 1 }
        };
        image1.Transform.Position = new Position
        {
            X = new DocumentUnit { Inch = 1 },
            Y = new DocumentUnit { Inch = 1 },
            HorizontalRelativePosition = HorizontalRelativePositionValues.page,
            VerticalRelativePosition = VerticalRelativePositionValues.page,
            HorizontalIsAbsolute = true,
            VerticalIsAbsolute = true
        };
        image1.Transform.TextWrapping = new TextWrapping
        {
            WrappingStyle = WrappingStyle.Square,
            WrapText = WrapTextValues.left
        };
        image1.Transform.Rotation = 45;
        doc.InsertChildToIndex(0, new Paragraph());
        doc.AddTable(new Table(3, 3));
        doc.Tables[0].Style = new TableStyle
        {
            Layout = TableLayoutValues.Autofit,
            Borders = new TableBorder
            {
                Bottom = new BorderStyle
                {
                    BorderColor = new Color(""ff0015""),
                    BorderValue =   BorderValues.dashed,
                    BorderSize = 5
                },
                Top = new BorderStyle
                {
                    BorderColor = new Color(""14fc15""),
                    BorderValue = BorderValues.cakeSlice,
                    BorderSize = 5
                },
                Left = new BorderStyle
                {
                    BorderColor = new Color(""14fc15""),
                    BorderValue = BorderValues.apples,
                    BorderSize = 5
                },
                Right = new BorderStyle
                {
                    BorderColor = new Color(""14fc15""),
                    BorderValue = BorderValues.apples,
                    BorderSize = 3
                },
                InsideHorizantal = new BorderStyle
                {
                    BorderColor = new Color(""14fc15""),
                    BorderValue = BorderValues.apples,
                    BorderSize = 2
                },
                InsideVertical = new BorderStyle
                {
                    BorderColor = new Color(""14fc15""),
                    BorderValue = BorderValues.apples,
                    BorderSize = 2
                },
            }
        };
        doc.Tables[0][0][0].AddParagraph(
        new Paragraph())
        .AddText("Hello")
        .Style = new TextStyle
        {
          Font = new Font
          {
              Color = new Color("FF0000"),
              Latin = new FontPart
              {
                  FontName = ""Times New Roman"",
                  Size = 14,
                  IsBold = true,
              }
          }
        };
        doc.LogObjectTree();
        doc.Save("sample1.docx");
    }
}
                    


VDocs is a fully independent document framework designed from the ground up to give developers a clean, extensible, and high-level API for working with Word documents and beyond. It works directly with XML — not with Microsoft Word Interop or the OpenXML SDK — giving you full control, zero bloat, and maximum portability.


Why VDocs?

Most document tools tie you to heavyweight libraries, Word Interop, or rigid SDKs like OpenXML. VDocs is different.

We created VDocs to serve as a platform-independent, developer-centric document engine. It provides a clean API and high-level abstraction over raw XML to let you:

  • Build and manipulate documents directly

  • Avoid Office dependencies

  • Prepare for multi-format generation

Roadmap Highlights:

  • ✅ Full Word support via WordprocessingML

  • 🔜 HTML & PDF output layers

  • 🔒 Performance-optimized XML processing


⚙️ Features

🔧

Pure XML-Driven

VDocs uses direct XML parsing and generation, not Office Interop, OpenXML SDK, or any legacy dependencies. It's lean, fast, and built for server-side use.

📄

Format-Agnostic Model

At its core, VDocs defines a floating document object model that abstracts away file-specific concerns. Write once, target many.

🧱

Fully Object-Oriented

Every structure — paragraphs, shapes, fills, styles — is a strongly-typed class, cleanly mapped to and from WordprocessingML.

🔁

Two-Way Mapping

Read from existing Word files or build new ones from scratch — all from your C# code. XML ↔ Model synchronization is seamless and deterministic.

🎯

Developer First

Designed with clarity and precision, VDocs’s API reduces verbosity and boosts maintainability. Built for developers who need fine-grained document control.

🚀

Forward-Compatible

The architecture allows for future format extensions — such as HTML, PDF, and Excel — using the same document core.

Enjoy full access to all features of our platform with the One-Month Free Trial License. This license includes every functionality available in the paid versions, allowing you to explore, test, and experience the complete capabilities of our product without any limitations. The trial is valid for 30 days from activation and is designed to help you evaluate how our solution fits your development and business needs before committing to a full license.

. : Pricing : .

  • 1 Developer • 1 Deployment Location

  • Includes 1 year of updates & support

  • 30-day refund guarantee

  • Ideal for freelancers and very small teams

After the first year, you may renew support & updates for $29/year.

One-time $89

Get Started
  • Up to 10 Developers • 3 Deployment Locations

  • Includes 1 year of updates & priority support

  • 30-day refund guarantee

  • Perfect for growing teams and SMBs

Renew support & updates after the first year for $79/year.

One-time $267

Get Started
  • Up to 50 Developers • 100 Commercial Deployments

  • Includes 1 year of updates & premium priority support

  • 30-day refund guarantee

  • Designed for SaaS, public web offerings, and enterprise projects

Renew support & updates after the first year at a negotiated rate (example: $1,200/year), or contact us for subscription/SLA options.

One-time $6,000

Get Started

How it works: All licenses are lifetime — you can use the software indefinitely. Each license includes 1 year of updates and support. After that, you may continue without updates or renew support for continued updates, security fixes and priority assistance.

We use cookies to improve your experience.