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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Set font family to use.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
ImageRef | The image reference number. | 1 |
Returns OK or error.
Set font family and other properties:
Set Variable [ $r ; Value: MBS("GMImage.SetFontPointsize"; $ref; 40) ]
Set Variable [ $r ; Value: MBS("GMImage.SetFontStyle"; $ref; "Italic") ]
Set Variable [ $r ; Value: MBS("GMImage.SetFontFamily"; $ref; "Times") ]
Set Variable [ $r ; Value: MBS("GMImage.SetFontStretch"; $ref; "Normal") ]
Set Variable [ $r ; Value: MBS("GMImage.SetFontWeight"; $ref; 800) ]
This function checks for a license.
Created 27th August 2020, last changed 18th September 2020