Paper Setting in FastReport.Net

How to set runtime Paper such as "Slip" in Report's Page Setup?

I used FastReport.Net in Visual Studio 2005 C# .net.
I create Paper size of "Slip" by Control Panel->Server properties in Printer & Fax Setting in Windows XP.

Comments

  • edited 4:01AM
    Hello,

    Use the following code:

    ReportPage page1 = report.Pages[0] as ReportPage;
    page1.PaperWidth = ... (size in millimeters)
    page1.PaperHeight = ... (size in millimeters)

    just set necessary sizes.

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.