I'm using PrintDocument in Silverlight. I'm printing the Silverlight DataGrid in Silverlight page. When I'm printing it only half of the DataGrid is getting printed....so Can I set the preferences for PrintDocument anywhere. I would like to print it as a Landscape type. Thank you.
Asked
Active
Viewed 1,030 times
1 Answers
1
There isn't a means to indicate that the printer should print in a landscape mode.
However the PrintPageEventArgs
has a PrintableArea
property from which you can discover the current aspect of the page. Using this you could apply a RenderTransform
(or you might need a LayoutTransform
) to rotate your content 90 degrees.

AnthonyWJones
- 187,081
- 35
- 232
- 306
-
Hi, Why should we rotate it to 90 degree??? how come that will solve the problem?? – user318197 Feb 09 '11 at 15:11