Silverlight Printing Landscape
Posted on 2010-09-09
im currently trying to print a usercontrol in landscape in Silverlight 4.
All my usercontrol have is a grid with some controls and content in it.(Exemple: Chart, text, etc...).
What i tried so far is to apply a RotateTransform to the root grid of the usercontrol and rotate it by 90 degree but its all messed up and some part of the usercontrol is outside the paper.
Now im looking for suggestions or code example to accomplish this task correctly. What i tried a couples minutes ago is to put the usercontrol in a writeablebitmap but without succes(the bitmap is always 0 bytes).
Thanks in advance.