Indeed, it will be necessary to adjust the section containing the data according to the number of rows. It will be necessary to instantiate the particular report and pass it to the ReportProcessor
as an InstanceReportSource
. Vertical centering of report sections content is not supported out of the box.
I have attached a sample Console Application demonstrating the approach - it is centering a Table with respect to the Panel it is in. The PDF document will be generated in the user temp folder, e.g. 'C:\Users\username
You may also instantiate the report by the TypeName
provided in the TypeReportSource
, for example by using the Activator.CreateInstance() method
Telerik.Reporting.Report reportInstance = (Telerik.Reporting.Report)Activator.CreateInstance(assemblyName, typeName).Unwrap();
may be extracted from the TypeReportSource.TypeName
, which is the AssemblyQualifiedName
of the report.
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?
Telerik Feedback Portal
and vote to affect the priority of the items