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
- Drop
TTMSFNCWXPDFViewer from the component palette onto a form.
- Call
LoadFromFile, LoadFromUrl, or LoadFromBase64 at runtime to open a PDF document.
- 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 pages
{ 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.