Scale Problem in FastReport.Net mvc

edited March 2015 in FastReport .NET
I would like to set the scale mode property of the preview(FastReport.Net mvc) control programmatically.

I accomplish that by this method:
[b]webReport.Report.Preview.ZoomPageWidth();[/b]
But I Recieve This Error:
The type 'System.Windows.Forms.UserControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Leave a Comment