What I'm trying to achieve is that the Preview Viewer of my Report is automatically showing up in Editor mode Activated.
What I've done to achieve this:
Code: Select all
Stimulsoft.Report.Viewer.StiWpfViewerControl viewer = new Stimulsoft.Report.Viewer.StiWpfViewerControl
{
Report = m_Report,
};
viewer.Report.PreviewSettings = m_Report.PreviewSettings = (int)Stimulsoft.Report.Viewer.StiPreviewSettings.Editor;
viewer.OpenEditor();
Could you please guide me on how to open the pdfviewer in edit mode?