Label Text Color in ACAD VBA?
Label Text Color in ACAD VBA?
(OP)
In AutoCAD VBA, anyone know how to change the color of a Label?
I would assume it is the ForeColor property, but when I look at the predefined choices, they are shades of gray. A look at the Palette tab in the ForeColor property, shows nothing. No colors or anything is in there.
Maybe that is my problem? If so, how to fix?
I would assume it is the ForeColor property, but when I look at the predefined choices, they are shades of gray. A look at the Palette tab in the ForeColor property, shows nothing. No colors or anything is in there.
Maybe that is my problem? If so, how to fix?





RE: Label Text Color in ACAD VBA?
In the VB code, you can set the ForeColor property to something like vbRed and it will work. There is a list of the vb Colors in help. Each one has a hex color value, but they didn't work, so I used the vbColor....