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: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  


Writes a demo text like the DynaPDF demo watermark.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes
MBS( "DynaPDF.WriteDemoText"; PDF; Text { ; Font } )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Text The text to use. "Hello World"
Font Optional
The font to use.
If the font used does not support all characters, the text may not show.
Default is Helevtica.
"Arial Unicode MS"


Returns OK or error.


Writes a demo text like the DynaPDF demo watermark.
This allows you to watermark PDFs with a text like "Confidential".
If you use DynaPDF.SetAlpha, you can change the transparency. With DynaPDF.SetStrokeColor you can change the color.


Add chinese text:

Set Variable [ $r ; Value: MBS("DynaPDF.WriteDemoText"; $pdf; "机密文件"; "Arial Unicode MS" ) ]

See also

Example Databases

Blog Entries

Release notes

Created 12nd November 2014, last changed 15th October 2018

DynaPDF.WebLink   -   DynaPDF.WriteFText

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins