I have tested out your "OpenDocumentFromStream"-sample (vb.net) because I have to load pdfs from stream. As it figured out the code doesn't work the right way.
Code: Select all
AxCoPDFXCview1.DoVerb(Nothing, "OpenDocument", vDataIn, OutPar, 0)
Now after selecting a pdf document(with the .net native file dialog), the file open dialog from your viewer component is showing up and let's me chose a pdf document again! Now this one is loaded into the viewer and the memory stream was ignored.
After debugging this behaviour I have found out, that the memory stream doesn't matter at all... This way the code sample doesn't make any sense for me...what is going wrong?
Thanks for your help
ebbiTeam