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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.