How I can modify the properties of the pages?


Hello.

Visual BAsic Code

I need to generate a report with a size of leaf different from A4.
Putting I the Width and Height of the page.

Set page = report.CreateReportObjectEx(report, "TfrxPage", "ReportPage")

I have watched the properties of the TfrxPage and I only can change the margins of the page.

I have to generate several objects, but they give error me.

TfrxPrintOptions
TIfrxPreviewOptions

Thanks

Comments

  • edited August 2006
    We added new property IfrxReportPage.PaperHeight and IfrxReportPage.PaperWidth.
    You can find it in new built(i changed VB6_Dynamic_report_Demo example to demonstrate how this work).

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.