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.WriteStyledTextEx
Writes styled text on current page.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 6.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.WriteStyledTextEx"; PDF; PosX; PosY; Width; Height; Align; Text ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| PosX | X-Coordinate of output rectangle | $x |
| PosY | Y-Coordinate of output rectangle | $y |
| Width | Width of output rectangle | $w |
| Height | Height of output rectangle or -1. | $h |
| Align | The text alignment. Can be left, center, right or justify. | "left" |
| Text | The text to write. | "Hello World" |
Result
Returns OK or error.
Description
Writes styled text on current page.Converts for you the styled text to the formatted text commands from DynaPDF.
Use DynaPDF.GetFTextHeightEx or DynaPDF.GetFTextHeight to calculate the space needed for the text if you want to create a matching text rectangle for vertical alignment.
See DynaPDF.AllowPageBreak for whether to do page breaks or not.
Please set a font first with DynaPDF.SetFont function before you write on the page. As this function uses font settings from FileMaker field, it may ignore whatever font or style you loaded before.
Internally calls DynaPDF.ConvertStyledText and DynaPDF.WriteFTextEx.
See also
- DynaPDF.AllowPageBreak
- DynaPDF.GetFTextHeight
- DynaPDF.GetFTextHeightEx
- DynaPDF.New
- DynaPDF.SetPageBreakExpression
- DynaPDF.WriteFText
- DynaPDF.WriteFTextEx
- DynaPDF.WriteFTextExRotated
- DynaPDF.WriteStyledText
- DynaPDF.WriteStyledTextExRotated
Blog Entries
Release notes
- Version 7.4
Created 13th October 2016, last changed 23th March 2020
DynaPDF.WriteStyledText - DynaPDF.WriteStyledTextExRotated
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos