Bold text

Stimulsoft Reports.NET discussion
Post Reply
3DLen
Posts: 2
Joined: Fri Mar 05, 2010 5:22 pm
Location: Canada

Bold text

Post 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.
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Bold text

Post 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.
3DLen
Posts: 2
Joined: Fri Mar 05, 2010 5:22 pm
Location: Canada

Bold text

Post by 3DLen »

Wow, that was easy. Thanks Brendan
Post Reply