TTMSFNCWXCustomPDFViewer.SavePageTextAsJSON Method
Extracts the text of a page and saves it to a JSON file.
API unit family: TMSFNCWXPDFViewer
Declaring type: TTMSFNCWXCustomPDFViewer
Syntax
procedure SavePageTextAsJSON(AFileName: string; APageNumber: Integer = -1);
Parameters
| Name | Description |
|---|---|
AFileName |
The path of the JSON file to write. |
APageNumber |
The one-based page to extract, or -1 to use the active page. Defaults to -1. |