Description

Background color of the entity display object. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second 8-byte represents a green value (0-255), and the third byte represents a blue value (0-255).

Property Type

  • Read-write property

Syntax

Public Property BackgroundColor() As Variant

Remarks

  • Hex representation: 0x00bbggrr
  • Integer: bbggrr

Example

Dim MyEntityDisplay As EntityDisplay 
Dim BkgrdColor As Integer 

MyEntityDisplay.BackgroundColor = BkgrdColor 
or 
' Sets the background color 

Dim MyEntityDisplay As EntityDisplay 
Dim BkgrdColor As Integer 

BkgrdColor = 669933 
MyEntityDisplay.BackgroundColor = BkgrdColor