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.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Returns whether the font is italic.
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.
Check italic property:
Set Variable [ $font ; Value: MBS( "XL.Book.AddFont"; $bookRef ) ]
Set Variable [ $r ; Value: MBS( "XL.Font.SetItalic"; $bookRef; $font; 1 ) ]
Show Custom Dialog [ "Italic flag" ; MBS( "XL.Font.GetItalic"; $bookRef; $font ) ]
Set Variable [ $r ; Value: MBS( "XL.Font.SetItalic"; $bookRef; $font; 0 ) ]
Show Custom Dialog [ "Italic flag" ; MBS( "XL.Font.GetItalic"; $bookRef; $font ) ]
This function checks for a license.
Created 18th August 2014, last changed 19th April 2020