Silverlight4 Printing Question
- by hallgato.attila
Hello everyone!
I'm having a problem with printing. Is it possible to print a (customized) DataGrid which doesn't fit the page?
a) Using a ViewBox to make it fit one page. My problem here is that I can get the PrintableArea.Width and PrintableArea.Height in the PrintPage EventHandler, from the PrintPageEventArgs, but in that Event Handler I can't set the size of an UIElement before it gets printed.
b) Multiple pages. Is it possible somehow to print the whole DataGrid, even the parts which are not visible (don't fit the page) and to somehow make the PrintableArea only a part of the DataGrid?