| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
XL.Book.SetRGBMode
Sets a RGB mode.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Book.SetRGBMode"; BookRef; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| Value | The new setting. Pass 0 or 1. | 0 |
Result
Returns OK or error.
Description
Sets a RGB mode.1: RGB mode, 0: Index mode (default).
In RGB mode use XL.ColorPack and XL.ColorUnpack methods for getting/setting colors.
Examples
Enable RGB mode:
Set Variable [ $logoID ; Value: MBS( "XL.Book.SetRGBMode"; $book; 1 ) ]
See also
Example Databases
This function checks for a license.
Created 18th August 2014, last changed 2nd November 2021
MarkDown version: XLBookSetRGBMode.md