Skip to main content
Table of Contents

Getting started with TMS FNC WX Docx

Prerequisites

  • TMS FNC Core installed and the runtime package added to the project.
  • TMS FNC WX Pack installed.

Add the component

  1. Drop TTMSFNCWXDocx from the component palette onto a form (non-visual).
  2. Build document content by calling the appropriate add methods.
  3. Call DownloadAsFile to trigger a browser download, or handle OnDownloadAsBase64 to receive the raw data.

Build a simple document

Inline example 1PascalC++
{ Inside your form's OnCreate: }
Docx1.NewDocument;
{ Add content using Docx1 methods }
Docx1.DownloadAsFile('output.docx');
// Inside your form's OnCreate:
Docx1->NewDocument();
// Add content using Docx1 methods.
Docx1->DownloadAsFile(L"output.docx");

Next steps

  • Guides — paragraphs, tables, formatting, and export options.
  • API reference — full class reference.