Share

acgsSetHighlightColor

C++

ACCORE_PORT void acgsSetHighlightColor(
    Adesk::UInt16 colorIndex
);

File

acgs.h

Description

In AutoCAD, there are two types of color effects: dash and glow effect.. Sets the highlight color for the current display to colorIndex. colorIndex must be in the range 0 to 255. You can get the current color index of highlight effect by using the acgsGetHighlightColor, and index 0 refers to default color If colorIndex is outside the acceptable range, this function does nothing.

Parameters

Parameters Description
colorIndex Input AutoCAD color index of desired highlight color

Was this information helpful?