Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

PDFKit.GetPDFPageText

Queries the text of a page in a PDF document.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 2.1 Yes No Yes, macOS only No Yes

MBS( "PDFKit.GetPDFPageText"; PDF; index )

Parameters

Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.
index The index of the page. From zero to PDFKit.GetPDFPageCount-1. 5

Result

The text of the PDF page as far as PDFKit knows it.

Description

Queries the text of a page in a PDF document.
If you need text from all pages, please use PDFKit.GetPDFText.

For solutions on Windows, Linux or iOS, please use DynaPDF.ExtractPageText.
You may need to use Text.ConvertUnicodeToCharacterComposition if text is coming back in decomposed unicode characters.

Examples

Extract text of page 6 in this PDF

MBS( "PDFKit.GetPDFPageText"; $ref; 5 )

See also

Example Databases


PDFKit.GetPDFPageRotation   -   PDFKit.GetPDFPageValue

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins