DoddleReport icon indicating copy to clipboard operation
DoddleReport copied to clipboard

Change Title style

Open MarcoBaptista opened this issue 8 years ago • 2 comments

Hi there,

I need change Tittle and Subtitle style to " Horizontal Align Left". How can I do this?

Tks

MarcoBaptista avatar Feb 13 '17 19:02 MarcoBaptista

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

cobussmit74 avatar Feb 21 '17 11:02 cobussmit74

Tks cob, but I´m makeing a report in Windows App, only client. I´ll try your susggest and, if OK, will post.

MarcoBaptista avatar Mar 02 '17 13:03 MarcoBaptista