Maxter
Maxter

Reputation: 824

Build simple multi page PDF with RDLC

Is it possible to create a simple multi page PDF file with a RDLC report? By simple PDF file, I mean a report that doesn't have any group or detail. Just some text that I wrote in the designer.

What I have tried so far:

  1. I added a header to the report and let the body of the report empty.
  2. I set the report format PageSize property to 8.5in by 11in
  3. I expanded the header height to 22in (So should be 2 pages total..)
  4. I added some textboxes all over the Header

Expected result when I render the report to PDF: A PDF file with 2 pages (8.5in by 11in each) of text.

What I actualy get: A PDF file with a single 8.5in by 22in page of text.

It seems like the PaperSize is ignored.

Upvotes: 0

Views: 894

Answers (1)

tezzo
tezzo

Reputation: 11105

You can use a TextBox with CanGrow property set to True inside a Body whose height is higher (2x) than Page height.

Please note that you can view the final effect only in Print Layout mode of ReportViewer.

Upvotes: 1

Related Questions