I'm looking to transfer a PDF document I have loaded in the ViewerAx to the Viewer DLL object. Currently, I just write it out to file and then have the Viewer DLL read it from file. I'm looking to speed up the process.
Is there a faster way to do this via an IStream. That is, can I save the document into a stream using the ViewerAx and then read that stream with PXCV_ReadDocumentFromIStream in the Viewer DLL?
If this is possible, would you mind helping me out with a simple code snippet in Delphi?
Thanks.
Save to Stream/Read from Stream
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Save to Stream/Read from Stream
Hi, jeffp.
Sure. Look to ViewerAx SaveDocumentToStream example and to Viewer DLL corresponding example (unfortunately there is no example with IStream in Delphi, so have a look at the examples in the other programming languages available).
HTH.
Sure. Look to ViewerAx SaveDocumentToStream example and to Viewer DLL corresponding example (unfortunately there is no example with IStream in Delphi, so have a look at the examples in the other programming languages available).
HTH.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.