Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.ConditionalFormat.SetBorderColor

Sets the border color.

Component Version macOS Windows Linux Server iOS SDK
XL 14.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.ConditionalFormat.SetBorderColor"; bookRef; ConditionalFormatRef; Value )   More

Parameters

Parameter Description Example
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
ConditionalFormatRef The reference number for the conditional format. $ConditionalFormat
Value The new color. 10

Result

Returns OK or error.

Description

Sets the border color.
If you set value and book is in RGB mode you can use XL.ColorPack function to get a numeric value for color components. If the book is not in RGB mode, you can use color values as described in XL.Font.SetColor.

See also

Created 30th March 2024, last changed 30th March 2024


XL.ConditionalFormat.SetBorderBottomColor - XL.ConditionalFormat.SetBorderLeft