Table of Contents

Getting started with TMS FNC WX PDF Viewer

Prerequisites

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

Add the component

  1. Drop TTMSFNCWXPDFViewer from the component palette onto a form.
  2. Call LoadFromFile, LoadFromUrl, or LoadFromBase64 at runtime to open a PDF document.
  3. Assign OnLoaded to be notified when the document has finished loading.

Load a PDF at runtime

{ In a button's OnClick handler: }
PDFViewer1.LoadFromFile('C:\Documents\report.pdf');
{ Navigate to a specific page (one-based): }
PDFViewer1.ShowPage(2);

Next steps

  • Guides — search, zoom, thumbnail generation, form fields, and touch.
  • API reference — full class reference.