Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
DynaPDF.WriteDemoText
Writes a demo text like the DynaPDF demo watermark.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.WriteDemoText"; PDF; Text { ; Font } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Text | The text to use. | "Hello World" | |
Font | The font to use. If the font used does not support all characters, the text may not show. Default is Helevtica. |
"Arial Unicode MS" | Optional |
Result
Returns OK or error.
Description
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.
Examples
Add chinese text:
Set Variable [ $r ; Value: MBS("DynaPDF.WriteDemoText"; $pdf; "机密文件"; "Arial Unicode MS" ) ]
See also
- DynaPDF.New
- DynaPDF.SetAlpha
- DynaPDF.SetStrokeColor
- DynaPDF.WriteFText
- DynaPDF.WriteStyledText
- DynaPDF.WriteText
Release notes
- Version 8.5
- Upgraded DynaPDF.WriteDemoText to use Unicode instead of Windows ANSI encoding for text.
Example Databases
Blog Entries
- Things you can do with DynaPDF
- DynaPDF Screenshot
- MBS FileMaker Plugin, version 8.5pr3
- MBS FileMaker Plugin 5.0 for OS X/Windows - More than 3000 Functions In One Plugin
- MBS Filemaker Plugin, version 4.5pr1
This function checks for a paid license.
Created 12nd November 2014, last changed 15th October 2018
