Hello,I am using the XamReportPreview-Control and would like to setthe starting Default-width and height of the Preview-Control to Page Width. - Just like the functionality of the toolbar-XamReportPreview-Control-Button (Page Width Ctrl + 2). -Can you give me the propertyname and propertyvalue?Thanks voks
Hi,
I am just checking if you got this working or you still require any assistance.
If this is what you were looking for please verify the answer so it help other customers as well.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Hello,
Here is a post by Andrew Smith describing how the zooming works: http://forums.infragistics.com/forums/p/22016/80955.aspx#
You can use the DocumentViewer's Zoom property like so:
XamReportPreview previewer = new XamReportPreview();
previewer.GeneratePreview(report, false, false);
previewer.ApplyTemplate();
previewer.DocumentViewer.Zoom = 120.0;
Window previewWindow = new Window(){Content = previewer };
previewWindow.ShowDialog();
Please let me know if you require any further assistance on the matter.