Solved

Silverlight Printing Landscape

Posted on 2010-09-09
2
1,255 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WKHTMLTOPDF - --disable-smart-shrinking not working 10 36
Error in page 3 45
Remove greater than sign 3 43
C# Single Form 8 27
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now