Message 1 of 5
color bylayer
Not applicable
10-28-2007
01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I think I have a very simple problem but i am already trying the whole evening to solve it. I try to change the color of a line to byLayer I tryed the next options:
//lijn1 is an LineObject
lijn1.ColorIndex = 0;
//but then the linecolor is byblock.
I tried
lijn1.Color = Color.FromColorIndex(ColorMethod.ByLayer, 0)
//but then te linecolor is byblock.
How to change the line color to bylayer??
thanks
I think I have a very simple problem but i am already trying the whole evening to solve it. I try to change the color of a line to byLayer I tryed the next options:
//lijn1 is an LineObject
lijn1.ColorIndex = 0;
//but then the linecolor is byblock.
I tried
lijn1.Color = Color.FromColorIndex(ColorMethod.ByLayer, 0)
//but then te linecolor is byblock.
How to change the line color to bylayer??
thanks