Table backcolor, backbrush

Info about design forms features
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Table backcolor, backbrush

Postby PetrS » 16 Jul 2014, 06:35

size=150Table BackColor, BackBrush/size
Version 0.1.50 and higher

New properties are available for table cells, columns and rows.
You can simply set BackColor (SolidBrush will be used) or set BackBrush (complex c# brush can be used).

bBackBrush /b- set this property to change background brush of the table cell/column/row.
You can use any c# brush: urlhttp://msdn.microsoft.com/en-us/library/system.drawing.brush.aspx/url

bBackColor /b - set this property to change BackBrush to SolidBrush with goven color.


ubSet cell BackColor / BackBrush:/b/u
T00.BackColor = <Color>;
T00.BackBrush = <Brush>;

ubSet row BackColor / BackBrush:/b/u
T0.BackColor = <Color>;
T0.BackBrush = <Brush>;

ubSet column BackColor / BackBrush:/b/u
T.Columns0.BackColor = <Color>;
T.Columns0.BackBrush = <Brush>;

See attached example for more info.
Attachments
TableBackColor.cls
(90.09 KiB) Downloaded 238 times
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 2 guests