How get page size from MemoryStream or Byte ?

Posted by Nakul Chaudhary on Stack Overflow See other posts from Stack Overflow or by Nakul Chaudhary
Published on 2010-05-05T12:54:06Z Indexed on 2010/05/05 12:58 UTC
Read the original article Hit count: 386

Filed under:

I have images of active report in database, when i get into bytes and convert into memory stream so it can pass to active report viewer then how i get paper size of paper display in active report? My code :

 Dim repmem As New System.IO.MemoryStream(rptBytes)
 repmem.Position = 0
 Viewer1.Document.Load(repmem)

© Stack Overflow or respective owner

Related posts about activereports