Hello!
How can I change RadDiagramm appearance in PrintPreview dialog? I was try to make new instance of RadDiagram with custom styles, but it is does not work. PrintPreview is empty. Can you send example, which describe, how to print diagram with custom shape/link styles for printing puporses. Thank you.
void PrintClick(object sender, ItemClickEventArgs e)
{
var printPreviewWindow = new Window();
var diagramForPrint = new RadDiagram();
diagramForPrint.GraphSource = diagramm.GraphSource;
diagramForPrint.Style = diagramm.Style;//here I will set some my PrintStyle
var printPreview = new RadDiagramPrintPreview() { Diagram = diagramForPrint };
printPreviewWindow.Content = printPreview;
printPreviewWindow.ResizeMode = ResizeMode.NoResize;
printPreviewWindow.Width = 800;
printPreviewWindow.Height = 600;
printPreviewWindow.ShowDialog();
}
How can I change RadDiagramm appearance in PrintPreview dialog? I was try to make new instance of RadDiagram with custom styles, but it is does not work. PrintPreview is empty. Can you send example, which describe, how to print diagram with custom shape/link styles for printing puporses. Thank you.
void PrintClick(object sender, ItemClickEventArgs e)
{
var printPreviewWindow = new Window();
var diagramForPrint = new RadDiagram();
diagramForPrint.GraphSource = diagramm.GraphSource;
diagramForPrint.Style = diagramm.Style;//here I will set some my PrintStyle
var printPreview = new RadDiagramPrintPreview() { Diagram = diagramForPrint };
printPreviewWindow.Content = printPreview;
printPreviewWindow.ResizeMode = ResizeMode.NoResize;
printPreviewWindow.Width = 800;
printPreviewWindow.Height = 600;
printPreviewWindow.ShowDialog();
}