datagrid - Setting the preferences in SIlverlight PrintDocument -


I am using PrintDocument in Silverlight, I am printing the Silverlight datagram to Silverlight page. When I print it, only half of the datagrid is being printed .... So can I set preferences for PrintDocument anywhere, I want to print it as landscape type. Thank you.

There is no way to show that the printer should be printed in a landscape mode.

Although PrintPageEventArgs has a PrintableArea property, from which you can search the current aspect of the page. You can use RenderTransform (or you may need LayoutTransform ) to rotate your content 90 degree by using it.


Comments