I'm evaluating DynamicPDF Viewer (OCX) in Delphi7, WinXP.
My Program Recieve PDF Files from File Server.
and I Want to use it as file stream with your functions
("OpenStream" and "OpenBuffer")
To prevent leaking of PDF Files,
I Don't want to write the file into HardDisk.
I Tested your 2 Functions but I Cann't Understand the usage.
here are the two declarations
function TDynamicPDFViewer.OpenBuffer(Buffer: OleVariant; size: Integer; const Password: WideString): WordBool;
function TDynamicPDFViewer.OpenStream(const Stream: IUnknown; const Password: WideString): WordBool;
as you see, the stream parameter is Not TStream type.
how can I use My File Stream(PDF) with DynamicPDF Viewer?
Can you Provide any Source for Delphi7 ?
How to use "OpenStream" and "OpenBuffer"
Re: How to use "OpenStream" and "OpenBuffer"
Support · Sep 1, 2010Hello,
The OPenBuffer and OpenStream methods you can use to open the PDF byte data or stream in viewer. OpenStream accepts the IStream (ComStream) object. We do not have any sample code to use in Delphi. We can provide some samples in .NET if you would like to see to get an idea. Please send an email to our [^a|mailto:support@cete.com|Support Team^] if you would like to see the .NET examples.
Thanks,
ceTe Software Support Team.