Description
Determines whether to use a custom background color just for this entity display object (true) or whether to use the default entity background color of the submodel (false). DATATYPE: Boolean.
Property Type
- Read-write property
Syntax
Public Property DisplayBackgroundColor() As Variant
Remarks
- Color settings takes a 4-byte integer where the first (low-order) byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
- Hex representation: 0x00bbggrr
- Integer: bbggrr
Example
Dim MyEntityDisplay As EntityDisplay Dim DispBGColor As Boolean MyEntityDisplay.DisplayBackgroundColor = DispBGColor or ' Sets the display background color Dim MyEntityDisplay As EntityDisplay Dim DispBGColor As Boolean DispBGColor = 669933 MyEntityDisplay.DisplayBackgroundColor = DispBGColor
See Also