Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,Iam using VS2010 Windows Forms Applications. I wish to PreView the report by 25% or 35%. Is it possible? The below codes showing only "WholePage" mode. It's not showing by ZoomPercent...

Thanks for the helps...

My Codes
C#
reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout);
reportViewer1.ZoomPercent = 25;
Posted

1 solution

You also need to set the zoom mode:
C#
reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.Percent;
 
Share this answer
 
Comments
Paramu1973 14-Mar-15 8:16am    
Thankyou!
khalid_rf 2-Feb-21 4:39am    
thanks bro

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900