Layer member function

Layer member function

Anonymous
Not applicable
327 Views
3 Replies
Message 1 of 4

Layer member function

Anonymous
Not applicable
Hi, all.
Plz, correct my code. I couldn't find any example.
Thanks in advance.
pLayerTableRecord->setColorIndex(1);
0 Likes
328 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
What's the problem? You're a bit vague.
But try setColor();





wrote in message news:[email protected]...
Hi, all.
Plz, correct my code. I couldn't find any example.
Thanks in advance.
pLayerTableRecord->setColorIndex(1);
0 Likes
Message 3 of 4

Anonymous
Not applicable
pLayerTableRecord->setColor(AcCmColor& 1);

Thank you Matt.
But, I'm lost.
What's the correct usage?
0 Likes
Message 4 of 4

Anonymous
Not applicable
I solved the problem.

AcCmColor color;
color.setColorIndex(1);
pLayerTableRecord->setColor(color);

Thanks.
0 Likes