UseStreamsDirectly

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

UseStreamsDirectly

Post by jeffp »

It appears that if I set UseStreamsDirectly to true and then proceed to load a PDF file from a Stream, your File>>SaveAs menu will produce the following error:

Error saving document to an external storage.
"Error [Appliction]: Destination storage is wrong"

To reproduce this, just add the following code to your OpenDocumentFromStream Delphi Example.

CoPDFXCview1.SetProperty('Documents.UseStreamsDirectly', 'True', 0);



If I set UseStreamsDirectly to false, no such error occurs.

Should not the Save menu items in the Viewer work no matter the value for UseStreamsDirectly?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: UseStreamsDirectly

Post by Vasyl - PDF-XChange »

Hi, Jeff.

This issue reproduced. Will be fixed in the next build.

Best
Regards.
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.