Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
Printing wide pages if Adobe Acrobate
posted

Hi

I created a report which has different sections. some sections are PageSize.A4 and some are wider (custom size) so that the grid will fit in horizontally.

When I try and print my report , I use the option ("Page Scaling" = Tile large pages) , but for some reason it also tiles the A4 pages.

I made another test and created a document with only one section with PageSize.A4  with a small image (100x100) and when I selected the Tile lage pages option it also divided the page into two as well. the print shows a print preview  of width 11.69 and height 16.53. Its as if it decided to rotate the A4 by 90 degrees  and multiply because 16.53 is exactly twice the width of and A4 page. why does it do this ?

ISection s = m_report.AddSection();

s.PageSize = PageSizes.A4;

s.AddImage(im);

AFTER ANOTHER Test I saw that if I make the height only 1 point less, then everything is fine and the print dialog shows 1 page  8.27 x 11.69 when selecting "Tile large pages"

s.PageSize = new PageSize(PageSizes.A4.Width , PageSizes.A4.Height - 1) .  //THIS  IS A WORKAROUND !

Any idea why this is so. ? Could it be some bug in report library ?

Thanks,.