Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Title style #2

Open
MarcoBaptista opened this issue Feb 13, 2017 · 2 comments
Open

Change Title style #2

MarcoBaptista opened this issue Feb 13, 2017 · 2 comments

Comments

@MarcoBaptista
Copy link

Hi there,

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

Tks

@cobussmit74
Copy link

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

@MarcoBaptista
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants