Solved

Silverlight Printing Landscape

Posted on 2010-09-09
2
1,262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 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