Page 1 of 1

Initial Zoom Level for Viewer

Posted: Fri Sep 05, 2025 9:01 am
by admin@secsol.co.uk
I have a Report Viewer on a form and set the initial zoom level to 1 = for 100% like this:

ReportViewer.Zoom = 1.0;

But the viewer appears to remember the last zoom level used and resets itself to this value instead of the 100%

Re: Initial Zoom Level for Viewer

Posted: Fri Sep 05, 2025 9:09 am
by admin@secsol.co.uk
If I set the zoom in the Shown() event like this:

ReportViewer.Zoom = 1.0;
ReportViewer.Refresh();

The report is zoomed to 100% but the zoom scroller at the bottom right show an incorrect value.

Re: Initial Zoom Level for Viewer

Posted: Fri Sep 05, 2025 10:09 am
by Lech Kulikowski
Hello,

You can use the following code:
StiOptions.Viewer.Windows.Zoom = 1;

Thank you.

Re: Initial Zoom Level for Viewer

Posted: Thu Sep 11, 2025 8:10 pm
by admin@secsol.co.uk
Hi,

This doesn't appear to work - it remembers the last zoom level and always goes back to that level.

Re: Initial Zoom Level for Viewer

Posted: Fri Sep 12, 2025 8:06 am
by Max Shamanov
Hello,

Could you please check this issue with StiRibbonViewerControl?

Thank you.

Re: Initial Zoom Level for Viewer

Posted: Sat Sep 13, 2025 11:06 am
by admin@secsol.co.uk
Hi,

I am using the StiRibbonViewerControl.

I set the zoom level in the Form Shown event as I thought that if the Viewer is remembering its last setting that this would be after it had set itself.

private void StimulsoftReportViewerForm_Shown(object sender, EventArgs e)
{
StiOptions.Viewer.Windows.Zoom = 1;
}

But it still goes back to the last zoom level.

Re: Initial Zoom Level for Viewer

Posted: Mon Sep 15, 2025 6:48 pm
by Lech Kulikowski
Hello,

We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.

Thank you.