logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
JonG  
#1 Posted : Thursday, January 14, 2016 9:41:01 PM(UTC)
JonG

Rank: Newbie

Groups: Registered
Joined: 1/14/2016(UTC)
Posts: 2

I'm rendering directly to a GDI+ Graphics instance on a PrintPage event handler and it's working great except for rotated rendering.

pdfPage.Render(gfx, target.X, target.Y, target.Width, target.Height, rotate, flags)

It doesn't seem to matter what I do with the rotate argument, I always get the same non rotated output?

Am I missing something? Any suggestions?
Paul Rayman  
#2 Posted : Sunday, January 17, 2016 3:05:25 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 866

Thanks: 3 times
Was thanked: 103 time(s) in 101 post(s)
Print functionality in PdfToolStripMain (WinForms) was improved.
Please upgrade to latest version.

If you are implement the print functionality by himself, then please look at second post here

Thanks

Edited by user Sunday, January 17, 2016 3:26:40 AM(UTC)  | Reason: Not specified

JonG  
#3 Posted : Sunday, January 17, 2016 2:18:12 PM(UTC)
JonG

Rank: Newbie

Groups: Registered
Joined: 1/14/2016(UTC)
Posts: 2

Hi,

I'm rendering directly to the Graphics as in your example. It's working great if I use Patagames.Pdf.Enums.PageRotate.Normal

If I use Rotate90, Rotate180, Rotate270, it does not work it still prints as if I had used Normal.


Paul Rayman  
#4 Posted : Sunday, January 17, 2016 5:05:57 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 866

Thanks: 3 times
Was thanked: 103 time(s) in 101 post(s)
I checked and found this bug in a Render(Graphics, ...) methods. We'll fix it in the nearest release.
Thanks a lot.

Edited by user Sunday, January 17, 2016 5:08:25 PM(UTC)  | Reason: Not specified

Paul Rayman  
#5 Posted : Monday, January 18, 2016 1:22:24 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 866

Thanks: 3 times
Was thanked: 103 time(s) in 101 post(s)
Fixed.
Please upgrade to the latest version (2.14.5.2595)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.