Enill
asked on
Silverlight Printing Landscape
Hi,
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER