Hello,
I'm currently evaluating the ActiveX PDF display control for possible inclusion in our products. One of the main caracteristic we are looking for is the ability to display a PDF from an instance that resides in memory instead of a file on disk. This is to fulfill a security requirements we have.
Is this possible with PDF XChange ActiveX control?
Thanks for any imput/thoughts on this.
UPd: Oh, missed the post by huyltx (dec 22) on this. It seems built 41.9 will contain that feature. Is this out yet?
Display PDF from memory stream using ActiveX
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 2
- Joined: Mon Feb 09, 2009 3:39 pm
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Display PDF from memory stream using ActiveX
Hi,
No - should be later this week and it will simply be version 41.
thanks
No - should be later this week and it will simply be version 41.
thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 2
- Joined: Mon Feb 09, 2009 3:39 pm
Re: Display PDF from memory stream using ActiveX
Ok. thanks. Can't wait to try it out!
-
- Site Admin
- Posts: 2449
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Display PDF from memory stream using ActiveX
This feature added for new build 41.1 but undocumented now (documentation will be updated in the future):
for open/save from/to memory stream without placing content into temp file you should
1. SetProperty("Documents.UseStreamsDirectly", "True", 0)
2. DoVerb(NULL, "OpenDocument", StreamObj, ..);
// after this, stream object will be "captured" by AX and can be used for saving document into this stream object in the future
// that is:
3. DoVerb(NULL, "SaveDocument", NULL, ..); // save changes to "captured" stream by default
The "captured" stream object will be released when document closes.
If:
"Documents.UseStreamsDirectly" == "false" // by default
then all content from stream object will be placed by AX - into temporary file before open.
In this case AX releases this stream object after open and "don't remember" about him.
for open/save from/to memory stream without placing content into temp file you should
1. SetProperty("Documents.UseStreamsDirectly", "True", 0)
2. DoVerb(NULL, "OpenDocument", StreamObj, ..);
// after this, stream object will be "captured" by AX and can be used for saving document into this stream object in the future
// that is:
3. DoVerb(NULL, "SaveDocument", NULL, ..); // save changes to "captured" stream by default
The "captured" stream object will be released when document closes.
If:
"Documents.UseStreamsDirectly" == "false" // by default
then all content from stream object will be placed by AX - into temporary file before open.
In this case AX releases this stream object after open and "don't remember" about him.
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.