Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

PDFComponent - LoadFromStream?

Hi,

An enquiry about the new TppPDFComponent in Reportbuilder. (Thank you very much BTW for this component!)

Just wondering if it's possible to load a PDF file from a Tmemorystream, instead of loading it from a file as I have a PDF file already in a memorystream and would like to avoid having to save it from a file and then load it again if possible?

Thanks & Regards

Adam.

Comments

  • Hi Adam,

    Thanks for the feedback. I'll research adding stream support for the future.

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • Thanks Nard.
  • I would also like to request/vote up this feature. We are storing pdf documents on Azure blob storage and we use memorystreams to access such documents.
    Thanks.
  • Hi Temo,

    Thanks for the up vote. :smile: This is on the ToDo list...

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • Hi Nard,

    Just wondering if this has been implemented yet or if it's still work in progress?

    Thanks & Regards

    Adam.
  • Hi Adam,

    This was added for RB 22.

    From the RB 22 New Features list..

    PDF Component
    - new LoadFromStream method
    - new DataPipeline, DataField properties to allow binding to dataset
    - new PrintBehaviors: Section, Fixed
    - new Page Layer support - when Fixed, display PDF page at design-time
    - new support for FilePath variables

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • Thanks Nard!
Sign In or Register to comment.