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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.WriteDemoText
Writes a demo text like the DynaPDF demo watermark.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
Example Databases
Blog Entries
- 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
Release notes
- Version 8.5
- Upgraded DynaPDF.WriteDemoText to use Unicode instead of Windows ANSI encoding for text.
Created 12nd November 2014, last changed 15th October 2018
DynaPDF.WebLink - DynaPDF.WriteFText
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins