<< Click to Display Table of Contents >>
GetMemoryStreamByExport Example - WinUWP Viewer
C#
MainPage.xaml.cs
public void onGetMemoryStreamByExport()
{
if (_viewer == null) {
return;
}
IDictionary<string, IRandomAccessStream> exportStream = _viewer.GetMemoryStreamByExport("export.format=pdf;pdf.fontembedding=true", ";");
}
C++/CX
MainPage.xaml.h
private :
OZReportViewer _viewer;
public :
void onGetMemoryStreamByExport();
MainPage.xaml.cpp
void OZWinUWPViewerSample::onGetMemoryStreamByExport()
{
if (_viewer == nullptr) {
return;
}
IMap<String^, IRandomAccessStream^>^ exportStream = _viewer->GetMemoryStreamByExport("export.format=pdf;pdf.fontembedding=true", ";");
}