Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.ChangeFontEx
Changes or sets the font to the one of the parameter Handle.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.ChangeFontEx"; PDF; FontHandle; FontSize; Style ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
FontHandle | Handle of the new font. | $font |
FontSize | The new font size. | 12 |
Style | Font style value. Can be a combination of values 1 for italic, 2 for bold, 4 for underlined and 8 for striked. |
3 |
Result
Returns OK or error.
Description
Changes or sets the font to the one of the parameter Handle.Handle must be a valid font handle that was returned by DynaPDF.SetFont, DynaPDF.SetFontEx, DynaPDF.SetCIDFont, or DynaPDF.LoadFont.
The style flags should be the same as in the initial DynaPDF.SetFont call with exception of the flags Underline or Striked which can be used to underline or strikeout text.
The parameter FontSize must be greater zero.
See also ChangeFontEx function in DynaPDF manual.
See also
- DynaPDF.ChangeFont
- DynaPDF.ChangeFontSize
- DynaPDF.ChangeFontStyle
- DynaPDF.ChangeFontStyleEx
- DynaPDF.New
- DynaPDF.SetFont
- DynaPDF.SetFontEx
Release notes
- Version 12.0
- Changed DynaPDF.SetFont, DynaPDF.Table.SetFont, DynaPDF.SetFontEx, DynaPDF.ChangeFontEx, DynaPDF.SetFieldFont and DynaPDF.SetBookmarkStyle functions to accept styles as text.
- Version 11.2
- Added DynaPDF.ChangeFontEx function.
Blog Entries
- MBS FileMaker Plugin, version 11.6pr2
- New in MBS FileMaker Plugin 11.2
- MBS FileMaker Plugin, version 11.2pr3
This function checks for a license.
Created 14th April 2021, last changed 14th April 2021