可以的。

VC++ :

... IStream * pStream;
CreateStreamOnHGlobal(NULL, true, &pStream);
pStream->AddRef();
pReport->PrepareReport(true);
pReport->SavePreparedReportToStream(pStream);
.....

C#:

System.IO.MemoryStream
ms = new System.IO.MemoryStream();
Report.PrepareReport(false);
Report.SaveReportToStream( ms );

本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:FastReport控件中文网 [http://www.fastreportcn.com/]
本文地址:http://www.fastreportcn.com/post/1016.html
04-18 11:42
查看更多