Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Returns the name of the font.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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 |
Returns value or error.
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
This function checks for a license.
Created 18th August 2014, last changed 19th April 2020