Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1280
  • Last Modified:

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.
0
Enill
Asked:
Enill
1 Solution
 
existenz2Commented:
Have a look at: http://www.cynergysystems.com/blogs/page/rickbarraza?entry=the%5Fsecret%5Fbehind%5Fthe%5Fpage

That page explains how you can flip your content to print landscape.
0
 
EnillAuthor Commented:
Not what i was looking for...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now