I use a PictureBox to display a dynamic loaded Imagelist (Hardcopyscans) of a Document Manegement System.
Now i need to scale the report automaticaly so it fits the width of the 1st picture in the List.
But i allways got two pages instead of one, because the reportsize seems to be to small for the image.
Or, if i scale up the report size, the image wil be shown to small or does some uggly, scaling - that results in unreadable text.
Also, if i receive a "landscape formated image" the size of the report shuld manage this situation, not cuting off the document in two separate pages.
Right now i use something like this in the NeedDataSource Handler:
if (dicFormat["PageSettigs"] == "Landscape")
this.Report.PageSettings.Landscape = true;
this.Report.PageSettings.Landscape = false;
SizeU u1 =
.Report.PageSettings.PaperSize = u1;
The content of the image shuld be printed best in 1:1 size.
Whats the best way to manage this?