Write / Read
About Display Colors

InactiveLabels Property


Description

Set and return the Inactive (not selected) Window Labels for the PNA display or hardcopy print.

VB Syntax

colors.InactiveLabels = value

Variable

(Type) - Description

colors

A ComColors (object)

value

(Long Integer) - RGB color of the Inactive Labels pen.

Convert the three RGB colors to an integer as follows:

RGB = R+(G*2^8)+(B*2^16)

To find the three RGB values from the Display Colors dialog, click Change Color, then Define Custom Color.

Return Type

Long

Default

Display = 160,160,160

Print = 0,0,0 (Black)

Examples

R = 10
G = 10
B = 10
RGB = R+(G*2^8)+(B*2^16)
colors.InactiveLabels = RGB 'Write
color = colors.InactiveLabels 'Read

C++ Syntax

HRESULT get_InactiveLabels(long* pVal);

HRESULT put_InactiveLabels(long newVal);

Interface

IColors