Page 1 of 1

Automatically open Editor

Posted: Mon May 14, 2018 11:36 am
by unlockedluca
I'm using Stimulsoft for WPF Version 2018.2.2.0

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();
But this results in ArgumentException (Inifinity is not a valid value for "\To")

Could you please guide me on how to open the pdfviewer in edit mode?

Re: Automatically open Editor

Posted: Thu May 17, 2018 7:42 am
by Lech Kulikowski
Hello,

Please send a simple project which reproduces the issue for analysis.

Thank you.