Leading

DynamicPDF CoreSuite for .NET (v6) Forum

 Jun 28 2011 6:53 AM
I have a query that returns a large text block. The length of this text varies considerably. I would like for user to preview report and adjust leading if necessary (ie 1 line on last page). Can you please give a VB example to change the fontsize and leading at runtime.

TIA,
John McCary
 Jun 28 2011 7:09 AM
Posted by a ceTe Software moderator
Hello John,

You can use the Expandable and Splittable property of the Recordbox and  FormattedRecordArea and set it to true in the report template and this will automatically expands the Recordbox, FormattedRecordArea depending on the text contents. You can set these properties using the property window in the DynamicPDF Designer.

It is not possible to set the leading and font size dynamically using our DynamicPDF ReportWriter for .NET product. Also it is not possible to see the preview of the PDF report and adjust the leading using our DynamicPDF ReportWriter product.

Thanks,
ceTe Software Support Team.
 Jun 28 2011 7:20 AM
Thank you for your prompt response.

Maybe I should ask question a different way. Assume I have a 3 page report. On the last page there is one line. I would like to reduce the report to 2 pages. Is there any way to accomplish this WITHOUT modifying the dplx file.

Thanks again!
John
 Jun 28 2011 7:36 AM
Posted by a ceTe Software moderator
Hello John,

It is not possible to dynamically set the font size or leading for the text which you are adding through Recordbox or FormattedRecordArea.  You will have to build a report template by setting required properties to the report elements and generate report using it. It is not possible to reduce three page report to two page without modifying the DPLX file.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 7:41 PM.