Getting Background and Highlight Colors
- Last UpdatedNov 02, 2022
- 1 minute read
You can get the background and highlight color indices from the member variables or you can use the Highlight() and Background() methods that return the value of the respective property as a name string.
For instance, using the example above:
!colourname = !view.Background()
Would give you the string "black", and:
!colourindex = !view.background
Would give us the integer color index value 2.