TMS FNC WX PDF Viewer — Guides
Loading documents
Use LoadFromFile for local files or LoadFromURL to load from a remote URL. Handle OnLoaded to know when rendering is complete and OnLoadError when the document cannot be opened.
Navigating pages
Call NavigatePage with a page number to jump to any page. The OnNavigatePage event fires when the visible page changes.
Searching text
Call SearchText to highlight occurrences. Handle OnFoundSearchText to receive match results, and OnSearchTextFinish when the search scan completes.
Zoom and rotation
Set Zoom to a percentage value. Change RotationAngle using a TTMSFNCWXPDFViewerRotationAngle value to rotate all pages.
Thumbnail generation
Call GenerateThumbnail to produce a thumbnail image for any page. Handle OnGenerateThumbnail to receive the result image.
Form fields
After loading, call GetFormFields. Handle OnGetFormFields to receive the list of editable form fields in the PDF.