Solved

Silverlight Printing Landscape

Posted on 2010-09-09
2
1,260 Views
Last Modified: 2012-05-10
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
Comment
Question by:Enill
2 Comments
 
LVL 14

Accepted Solution

by:
existenz2 earned 500 total points
ID: 33643972
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
 

Author Closing Comment

by:Enill
ID: 33803430
Not what i was looking for...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question