No api to save a pdf document into an IStream object
No api to save a pdf document into an IStream object
We see that there is a function (which is LoadFromIStream) to load a pdf document from IStream object into the CGdPicturePDF object. But there is no api to save the pdf document into an IStream object from the CGdPicturePDF object after loading the pdf document into the CGdPicturePDF object. We are wondering if you could give us a direction on how to save into IStream object from the CGdPicturePDF object.
Re: No api to save a pdf document into an IStream object
We tried the following code to save into in-memory stream (which throws an error) from the CGdPicturePDF object:-
CComQIPtr spIStream;
HRESULT hRes = CreateStreamOnHGlobal(NULL, TRUE, &spIStream);
m_oGdPicturePDF.SaveToStream((LPDISPATCH)&spIStream);
is there any one who tried to save into an in-memory stream (an IStream ) to get the PDF document from the CGdPicturePDF object? Any help is appreciated.
CComQIPtr spIStream;
HRESULT hRes = CreateStreamOnHGlobal(NULL, TRUE, &spIStream);
m_oGdPicturePDF.SaveToStream((LPDISPATCH)&spIStream);
is there any one who tried to save into an in-memory stream (an IStream ) to get the PDF document from the CGdPicturePDF object? Any help is appreciated.
Re: No api to save a pdf document into an IStream object
Hi,
I can confirm that we do not provide such api yet. We will include it for the GdPicture version 11 that will be published on 1rst January 2015.
With best regards,
Loïc
I can confirm that we do not provide such api yet. We will include it for the GdPicture version 11 that will be published on 1rst January 2015.
With best regards,
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests