Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  


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 )


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


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


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.


Extract text of page 6 in this PDF

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

See also

Example Databases

Created 18th August 2014, last changed 16th January 2017

PDFKit.GetPDFPageRotation   -   PDFKit.GetPDFPageValue

Feedback: Report problem or ask question.

MBS Xojo Plugins