Automatically open Editor

Stimulsoft Reports.WPF discussion
Post Reply
unlockedluca
Posts: 3
Joined: Mon May 14, 2018 11:32 am

Automatically open Editor

Post 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?
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Automatically open Editor

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply