.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vb.net setcolor

1 REPLY 1
Reply
Message 1 of 2
cadcamm99
481 Views, 1 Reply

vb.net setcolor

I am using vb.net to create a table but I am not familiar on how to use setcolor to set the color of the header row. Can someone help?

1 REPLY 1
Message 2 of 2
chiefbraincloud
in reply to: cadcamm99

This post on Through the Interface has everything you need.

 

http://through-the-interface.typepad.com/through_the_interface/2009/01/more-fun-with-autocad-tables-...

 

It is in C#, but you can run it through one of the converters on the web if you need to.

 

this is one way to get the color argument, there are several others, such as by RGB, or from entity.

 

ts.SetColor(Color.FromColorIndex(ColorMethod.ByAci, 256), CInt(RowType.HeaderRow ))

Dave O.                                                                  Sig-Logos32.png

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost