Share

acedGetRGB

C++

ACAD_PORT Adesk::ColorRef acedGetRGB(
    int color
);

File

aced.h

Description

This function returns a RGB color value in Win32 COLORREF (0x00bbggrr) format for the color specified by the AutoCAD Color Index (ACI) number. The ACI number must be a value between 0 and 255.

If this function is passed a value less than 0 or greater than 255, then the return value will be meaningless.

Parameters

Parameters Description
color Input AutoCAD color index number of the color to convert

Was this information helpful?