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

Report viewer has black spaces on the right side

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sunil
Top achievements
Rank 1
Sunil asked on 30 Oct 2018, 09:10 PM

Hi,

We have a winform application which used telerik to show few reports.

When we try to view the reports with 150% scaling the reports are all skewed to the left with huge white spaces to the right.

One solution we found is to make our application DPI aware, that seems to fix the report issues but since our application is not built for scaling we cannot make it DPI aware without huge re writes!

Is there a way to fix with without making our application DPI aware?

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 02 Nov 2018, 02:56 PM
Hi Sunil,

The reporting engine calculates the exact physical area necessary for each symbol and report item in the report. The physical size of the items depends on the DPI. When the application using the reporting engine is DPI aware, the items will be calculated based on the real DPI and the report will appear correctly. If the application is *not* DPI aware, the default value is 96dpi, which may generate an unexpected report layout in higher DPI environment. Hence, the application hosting the reporting engine needs to be DPI aware to generate the correct output.

If you prefer not to declare the entire application as DPI aware, you may extract the reporting part in another application declared as DPI aware, and call this application from the main one - e.g. by using Process.Start.

Regards,
Todor
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Sunil
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or