Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Font.SetSize
Sets the size of the font in points.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Font.SetSize"; book; Font; Value ) More
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 |
Value | The new font size. | 12 |
Result
Returns OK or error.
Description
Sets the size of the font in points.Examples
Create a font:
Set Variable [$textFont; Value:MBS( "XL.Book.AddFont"; $book)]
Set Variable [$r; Value:MBS( "XL.Font.SetSize"; $book; $textfont; 8)]
Set Variable [$r; Value:MBS( "XL.Font.SetName"; $book; $textfont; "Century Gothic")]
See also
- XL.Book.AddFont
- XL.Book.AddFormat
- XL.Font.GetSize
- XL.Font.SetBold
- XL.Font.SetName
- XL.Format.SetAlignH
- XL.Format.SetAlignV
- XL.Format.SetFont
- XL.LoadBook
- XL.Sheet.CellWriteText
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 5th May 2016