Background Color

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v5)  /  Background Color

DynamicPDF CoreSuite for .NET (v5) Forum

 Aug 27 2008 10:00 AM
I am trying to set the background color for a row and I am having a little troble.  my current code is:

row.BackgroundColor = "#A3A60F";

How would I go about doing that?
Thanks,
Tim
 Aug 27 2008 1:26 PM
Posted by a ceTe Software moderator
Hello Tim,

You can set the background color using the BackGroundColor property of the Row object. Following is the sample code.

   row.BackgroundColor = new ceTe.DynamicPDF.WebColor("#A3A60F");

Thanks,
ceTe Software Support Team.

 

 Aug 27 2008 2:34 PM
Awesome that worked, I have a quick one for you.  I searched your support base/knowledge base which is pretty helpful. 

I need to set a thin border on my table.  (table.borderwidth = 1).  is there any way to do a smaller not so bold border?
 Aug 27 2008 2:51 PM
Posted by a ceTe Software moderator
Hello,

It is not possible to set a border smaller than 1.

Thanks,
ceTe Software Support Team
 Aug 27 2008 2:52 PM
ok, good to know. thanks for the help!

All times are US Eastern Standard time. The time now is 3:50 PM.