Message 1 of 2
How does the Color.FromColorIndex work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
attDef.Color = Color.FromColorIndex(ColorMethod.ByBlock, 1);
I found this code works for changing the entity's color.
I know in AutoCAD we have 0 to 256 index colors where 0 should be byblock and 256 should be bylayer. but what the two parameters in this method actually mean?