Component Style

Stimulsoft Reports.NET discussion
Post Reply
Siang Hwee
Posts: 50
Joined: Mon Mar 26, 2007 6:32 pm
Location: Malaysia

Component Style

Post by Siang Hwee »

Hi All,

I already create a component style and Save As DefaultStyle.sts. All my report are sharing a same DefaultStyle.sts. Now i have a problem, i want to change the DefaultStyle.sts and all the Report reflected accordingly. How to do it?

I think it is very useful especially if we can apply a theme kind of situation for the reports. Every report tight to 1 style, if we want to change the style we can change it at the back ground. This is very useful to me because some of the customer want to print report using dot matrix printer, where color is difficult to print thru dot matrix, hence i will let them choose others style. Is it possible to achieve thru stimulreport?



Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Component Style

Post by Vital »

Hello,

You can load styles to report with help of following code:

Code: Select all

report.Styles.Load("DefaultStyle.sts");
You need load styles before report compilation.

Thank you.
Post Reply