Page 1 of 1

Bold text

Posted: Mon Mar 08, 2010 12:20 pm
by 3DLen
I am just learning Stimulsoft, so please forgive my lack of knowledge. I have been able to identify when a row in my datasource is a subtotal row, and I then substitute the word, "Subtotal".

Here is my code: {IIF(Estimate.type == 3 && booleanPrintPrice,Estimate.price,IIF(Estimate.type == 2, "Subtotal",""))}

Now my question is: Can I make this text, "Subtotal", in bold? I can't find an answer in samples or help files.

Thank You.

Bold text

Posted: Mon Mar 08, 2010 12:59 pm
by Brendan
You can add a condition to your text component to change the text to bold.
Just select the component you want to bold and then open the conditions window from Properties.
Add a new condition with the following expression

Code: Select all

Estimate.type == 2
and set any display properties you need - Color, Bold, Font, etc.

Bold text

Posted: Mon Mar 08, 2010 1:12 pm
by 3DLen
Wow, that was easy. Thanks Brendan