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.
I’m using PrintDocument in Silverlight. I’m printing the Silverlight DataGrid in Silverlight page. When
Share
There isn’t a means to indicate that the printer should print in a landscape mode.
However the
PrintPageEventArgshas aPrintableAreaproperty from which you can discover the current aspect of the page. Using this you could apply aRenderTransform(or you might need aLayoutTransform) to rotate your content 90 degrees.