logo
small logo
  • Products
  • Buy
  • Support
  • Articles
  • Customer panel Support
    • en
    • ru
    • pt
    • es
    • de
    • pl
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • How to use “UnlimitedHeight” and “UnlimitedWidth” properties of a report page
  • How to make custom ToolBar in report preview

    January 8, 2020

    Most report generators have a report-viewing mode with a toolbar from which you can make

    read more
  • How to display the footer page PageFooter only on the last page of the report

    May 15, 2020

    When you develop the same reports, or reports with the same bands, you can use

    read more
  • How to create a sales receipt from a WPF application

    August 17, 2020

    I guess every WinForms developer came across the idea that the standard form controls look

    read more
  • Interactive forms in PDF export Fast Report .Net 2018

    January 17, 2018

    It's no secret that the PDF standard allows you to create fillable forms. That is,

    read more
  • How to display report pages on separate sheets in Excel

    October 14, 2019

    Until recently, the export of multi-page reports in Excel format was done on one sheet.

    read more

How to use “UnlimitedHeight” and “UnlimitedWidth” properties of a report page

March 15, 2017

The new version FastReport.Net 2016.30.1 represents a very interesting feature – elongating reports. If you use a matrix report or dynamic tables, they likely do not fit the width or height of your page. Therefore, it is needed to “break” a table and move it to the next page. It spoils the appearance of documents and makes them difficult to read. Now the report can consist of a single page. It will elongate the page to distribute all the bands in total with no breaks on it. Such a full - length report can be printed on A3 paper sheet or on A4 paper sheet. Table editor “MS Excel” is the best to export wide reports. The entire report can be placed on a single sheet of paper.

Let us take a look at solving the problem of “growing” tables in the past.

The table in the picture below does not fit the page in width:

 

A part of the table has moved to the new page. By default, in such a way FastReport.Net deals with "oversized" tables. Of course, a part of a table moved to the next page is not the best solution. Therefore, objects “Table” and “Matrix” have a property “Layout”, for which it is possible to set a value “wrapped”.

Let us illustrate this on the table shown above. The following picture introduces the difference between two tables:

 

The data that did not fit in width has been moved down on the same page. It is much more convenient than the “page break”.

Now, please, look at the same example with matrix:

 

The following picture introduces the appearance of matrix if you set a value “wrapped” for “Layout”:

 

 Now FastReport.Net allows creating tables and matrixes of any width and height. Properties “UnlimitedHeight” and “UnlimitedWidth” were added to the report page.

If you set their value to “true”, the page will be able to elongate with the report objects.

 

Enable these properties for a report with a wide table:

 

Let us take a look at the matrix:

 

Now, let us export the matrix to “Excel”:

 

The picture below represents a long table:

 

In such a way, FastReport.Net now allows creating reports with "adjustable" pages that are convenient to be printed on large paper sizes or for exporting to a table editor. Also, this mode can be useful for web - reports, where the page size is not important.

about product download buy
avatar
Dmitriy Fedyashov
Head of QA
.NET FastReport

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • Ticket system
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Our team
  • Contact us

© 1998-2021 by Fast Reports Inc.

  • Privacy Policy