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
XL.Font.GetName
Returns the name of the font.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| XL | 3.5 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| book | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
| Font | The index of the font in the book to target. | 0 |
Result
Returns value or error.
Description
Returns the name of the font.Examples
Add a font, set name and query it:
Set Variable [ $font ; Value: MBS( "XL.Book.AddFont"; $bookRef ) ]
Set Variable [ $r ; Value: MBS( "XL.Font.SetName"; $bookRef; $font; "Helvetica" ) ]
Show Custom Dialog [ "font name" ; MBS( "XL.Font.GetName"; $bookRef; $font ) ]
# shows Helvetica
See also
- XL.Book.AddFont
- XL.Font.GetBold
- XL.Font.GetSize
- XL.Font.SetName
- XL.Font.SetSize
- XL.LoadBook
- XL.Sheet.GetName
Created 18th August 2014, last changed 19th April 2020
XL.Font.GetItalic - XL.Font.GetScript
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins