Export PDF to Stream
Hi Guys,
Let me say that you guys rock. I love using fastreports :-)
I do have an issue now though. Currently I export my report to pdf onto local disk and then Adobe previews it. However, due to circumstances I wish to now
export the pdf to a stream instead of a file. Is this possible via fast report?
Awaiting your speed response on this as I need to rollout out by next week :-)
So your assistance would be greatly appreciated
Let me say that you guys rock. I love using fastreports :-)
I do have an issue now though. Currently I export my report to pdf onto local disk and then Adobe previews it. However, due to circumstances I wish to now
export the pdf to a stream instead of a file. Is this possible via fast report?
Awaiting your speed response on this as I need to rollout out by next week :-)
So your assistance would be greatly appreciated
Comments
TMemoryStream* pMem = new TMemoryStream();
Report->PreviewPages->SaveToStream(pMem);
pMem->Position = 0;
//do whatever with that stream
...