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

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Michael Posted: Saturday, September 7, 2019 10:27:22 PM(UTC)
 
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
Paul Rayman Posted: Thursday, September 5, 2019 5:52:42 PM(UTC)
 
what about pdfp.PrintSizeMode?
Try to change this property too.
Michael Posted: Thursday, September 5, 2019 12:21:33 AM(UTC)
 
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