This is a migrated thread and some comments may be shown as answers.

US vs European Paper Sizes

1 Answer 102 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 12 Mar 2012, 03:53 PM
Does Telerik reporting change the report size paperkind automatically based off of the users printer settings?  For example, if I design the report using letter paperkind, and a user in Europe goes to export the report to PDF, does the reporting engine know to convert it to A4 if that is what thier default printer uses?

Essentially, the problem I am facing is I designed the report based on one measurement (letter), but when Europeans export the document to PDF, its in the A4 measurement.  So the margins are wider in the A4 measurement.

Any best practices when designing reports for multiple users who use different paper sizes.  All reports are always viewed in PDF.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 15 Mar 2012, 01:04 PM
Hello Dan,

The PaperKind in Telerik Reporting is initially predefined by design, so that you can have a better control over the layout. However nothing stops you from defining your own page settings or even delete the ones defined in the InitializeComponent() method. For example the following line of code would initialize new page settings that would get the info from the default printer settings:

InitializeComponent();
this.PageSettings = new Telerik.Reporting.Drawing.PageSettings();

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Dan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or