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

Notification

Icon
Error

Options
Go to last post Go to first unread
Michael  
#1 Posted : Thursday, September 5, 2019 3:21:33 AM(UTC)
Michael

Rank: Newbie

Groups: Registered
Joined: 9/5/2019(UTC)
Posts: 2
Israel

Hello. I am new with SDK. I have successfully show pdf file using winform viewing. When it goes to printer it not rotated.
Must mention that original file takes half space of the page(but in viewer its rotated)

i am using standard options
Dim pdfd As PdfDocument = PdfViewer1.Document
Dim pdfp As New PdfPrintDocument(pdfd)
pdfp.PrintSizeMode = PrintSizeMode.Fit
pdfp.AutoCenter = True
pdfp.AutoRotate = True
pdfp.Print()

Please help
Paul Rayman  
#2 Posted : Thursday, September 5, 2019 8:52:42 PM(UTC)
Paul Rayman

Rank: Administration

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

Thanks: 1 times
Was thanked: 98 time(s) in 96 post(s)
what about pdfp.PrintSizeMode?
Try to change this property too.
Michael  
#3 Posted : Sunday, September 8, 2019 1:27:22 AM(UTC)
Michael

Rank: Newbie

Groups: Registered
Joined: 9/5/2019(UTC)
Posts: 2
Israel

Hello Paul. Thank for response
The problem actually that my document has height that equal half page.
What is interesting that pdf viewer shows it rotated, but when printing auto rotate options does not help. Print size mode just stretching it without rotate. I found that (auto resize = false) print ok, but i am worrying now what will be with other pages.
I also need help how to create preview window with option to select pages to be printed and also turn it to landscape.
Thank you for help
Users browsing this topic
Similar Topics
How to find rotated PdfTextObject's rotated bounding box? (Common Questions)
by rhnatiuk 6/7/2019 6:03:47 AM(UTC)
PdfPage.Render() ignores rotate argument? (Bug Report & Technical Support)
by JonG 1/14/2016 9:41:01 PM(UTC)
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.