DoddleReport
DoddleReport copied to clipboard
Change Title style
Hi there,
I need change Tittle and Subtitle style to " Horizontal Align Left". How can I do this?
Tks
Hi Marco
When using the iTextSharp PDF writer you can do it like this:
report.RenderHints["TitleStyle"] = new ReportStyle { Bold = true, FontSize = 18, HorizontalAlignment = HorizontalAlignment.Left };
report.RenderHints["SubTitleStyle"] = new ReportStyle { Bold = true, FontSize = 14, HorizontalAlignment = HorizontalAlignment.Left };
This is implemented per report writer so the others might behave differently. Hope this helps
Cheers Cobus
Tks cob, but I´m makeing a report in Windows App, only client. I´ll try your susggest and, if OK, will post.