Scale Mode in Preview Control
Hi Alex,
we would like to set the scale mode property of the preview control programmatically.
For example to "fit to page" or "87%".
How to accomplish that? In the class reference we could not find a suitable property
or method.
Best Regards
Claus
we would like to set the scale mode property of the preview control programmatically.
For example to "fit to page" or "87%".
How to accomplish that? In the class reference we could not find a suitable property
or method.
Best Regards
Claus
Comments
It's a Zoom property, and ZoomIn, ZoomOut, ZoomPageWidth, ZoomWholePage methods of the PreviewControl.
frReport = new FastReport.Report();
frReport.Load(sFilename);
frReport.SetParameterValue(...);
frReport.Preview = this.frPreview;
frPreview.ZoomWholePage();
frReport.Show();
Used Version 1.0.56.0.
Regards
frReport.Show();
frPreview.ZoomWholePage();