I have a collection of RadDiagram items I need to print out on a single page.
I also need to preview it in a View.
I have placed my RadDiagram items in cells in a Grid for each page and I want to print.
Everything works great when viewing this in a XAML view.
For printing, I take the collection of Grids (pages) and create a FixedPage for each Grid (page) and a FixedDocument to contain all
the pages.
I then use PrintDialog's PrintDocument() method.
I can't use Telerik's Printing utilities as they support only one RadDiagram and no layout.
If the size (Width & Height) of my RadDiagram is less than or equal to the size of the Grid cell,
I get an extra Scroll bar on the right and bottom sides of each RadDiagram on the page.
As I'm not embedding the RadDiagram inside of a ScrollViewer and I don't see these scroll bars when I view it on the screen,
I don't know where this is coming from.
To prove it is RadDiagram causing this, I have substituted a simple Rectangle control in place of the RadDiagram and the
scroll bars go away. I have also tried an empty RadDiagram and I also get the scroll bars.
I have attached a picture of one RadDiagram in a Grid being viewed and the same Grid being printed to show the scroll bars.
My questions are:
* Why am I getting the scroll bars?
* How do I turn them off?
Thanks,
Alan
I also need to preview it in a View.
I have placed my RadDiagram items in cells in a Grid for each page and I want to print.
Everything works great when viewing this in a XAML view.
For printing, I take the collection of Grids (pages) and create a FixedPage for each Grid (page) and a FixedDocument to contain all
the pages.
I then use PrintDialog's PrintDocument() method.
I can't use Telerik's Printing utilities as they support only one RadDiagram and no layout.
If the size (Width & Height) of my RadDiagram is less than or equal to the size of the Grid cell,
I get an extra Scroll bar on the right and bottom sides of each RadDiagram on the page.
As I'm not embedding the RadDiagram inside of a ScrollViewer and I don't see these scroll bars when I view it on the screen,
I don't know where this is coming from.
To prove it is RadDiagram causing this, I have substituted a simple Rectangle control in place of the RadDiagram and the
scroll bars go away. I have also tried an empty RadDiagram and I also get the scroll bars.
I have attached a picture of one RadDiagram in a Grid being viewed and the same Grid being printed to show the scroll bars.
My questions are:
* Why am I getting the scroll bars?
* How do I turn them off?
Thanks,
Alan