Hi all
I want to print a diagram with preview. I used the example at http://www.telerik.com/help/wpf/raddiagram-features-printing.html and my code looks like this:
I want to print a diagram with preview. I used the example at http://www.telerik.com/help/wpf/raddiagram-features-printing.html and my code looks like this:
With the RadDiagramPrintPreview the user can change printer and sheet size / orientation. But I need to scale the diagram down to "fit to page" How can I do this with the RadDiagramPrintPreview?var printPreviewWindow =
new
RadWindow();
var printPreview =
new
RadDiagramPrintPreview { Diagram =
this
.diagram };
printPreviewWindow.Content = printPreview;
printPreviewWindow.ResizeMode = ResizeMode.NoResize;
printPreviewWindow.Width = 800;
printPreviewWindow.Height = 600;
printPreviewWindow.ShowDialog();
Regards
Dan Ove