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
835
PrintPreview a pdf Report Document
posted

Hello eveyone, does any one have any idea on somehow preview a pdf report documnet in print preview dialog or somehow using the UltraPrintDocument so that you can view in the print preview dialog??  Any ideas, thanks in advance,

Jose

Parents
  • 37774
    Verified Answer
    posted

    Jose,

    Take a look at the Thumbnails sample for the Documents sample project that comes with NA.  Basically, you could take the images that are  generated for each page in the report and hook into a PrintDocument's PrintPage event, and within there draw into the graphics object provided by the event.  You would also have to set e.HasMorePages accordingly.

    -Matt 

Reply Children