Hello!
On high resolution displays (for example my Dell M3800 laptop with a 3600x1800 display)
and with scaling setting of 200% the height of the page seems to be wrongly calculated.
When I set scaling to 100% in the Display Control Panel,
it works as expected - but of course the rest of the application is then too small to use.
Has anyone else experienced this?
Regards
Erwin
Telerik.Reporting.IReportDocument report =
new
ListBoundReport();
// The standard print controller comes with no UI
System.Drawing.Printing.PrintController standardPrintController =
new
System.Drawing.Printing.StandardPrintController();
var processor =
new
ReportProcessor();
processor.PrintController = standardPrintController;
Telerik.Reporting.InstanceReportSource instanceReportSource =
new
Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = report;
var settings =
new
PrinterSettings();
processor.PrintReport(instanceReportSource, settings);
Dim
panel1 As New Telerik.Reporting.Panel()
Dim Table1 As New Telerik.Reporting.Table
Table1.Location =
New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Cm), New Telerik.Reporting.Drawing.Unit(15, Telerik.Reporting.Drawing.UnitType.Cm))
Table1.Size =
New Telerik.Reporting.Drawing.SizeU(New Telerik.Reporting.Drawing.Unit(23, Telerik.Reporting.Drawing.UnitType.Cm), New Telerik.Reporting.Drawing.Unit(10, Telerik.Reporting.Drawing.UnitType.Cm))
panel1.Location =
New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(0,
panel1.Size =
New Telerik.Reporting.Drawing.SizeU(New Telerik.Reporting.Drawing.Unit(21, Telerik.Reporting.Drawing.UnitType.Cm), New Telerik.Reporting.Drawing.Unit(21, Telerik.Reporting.Drawing.UnitType.Cm))
panel1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid
panel1.Items.Add(Table1)
Report3.Items.Add(panel1)
ReportViewer1.Report = Report3
but the table doesnt show , any help please?