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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

OCR.WriteToPDF

Writes text on the PDF.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
OCR 3.1 Yes Yes Yes Yes Yes

MBS( "OCR.WriteToPDF"; PosX; PosY; Width; Height )

Parameters

Parameter Description Example value
PosX X-Coordinate of image. $x
PosY Y-Coordinate of image. $y
Width Width of the image. $w
Height Height of the image. $h

Result

Returns OK or error message.

Description

Writes text on the PDF.
This function is good to overlay an OCRed image with text, so you can copy/search the text.
Please set a default font before calling this function.

Examples

Insert image and write text over it:

MBS("DynaPDF.InsertImage"; OCR::Image; $x; $y; $w; $h)
MBS( "OCR.WriteToPDF"; $x; $y; $w; $h)

See also

Example Databases


OCR.SetResolution   -   PDFKit.AddEmptyPage

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins