To set the zoom level of a PrintPreviewDialog

Y

yulyos

Hi,

To set the zoom level of a PrintPreviewDialog:

Dim YPreview As New PrintPreviewDialog()
YPreview.Document = PrintDocument
YPreview.WindowState = FormWindowState.Maximized
YPreview.PrintPreviewControl.Zoom = 1.0

' 0.75 = 75 %
' 1.0 = 100 %
' 1.5 = 150 %

Have a nice day

you cen get another codes at:
http://www.run.to/yulyos-vbnet

Form:
(e-mail address removed)
http://www.go.to/yulyos
 
Y

yos yul

Hi,

If you mean I don't understand much there …
Because it is written in Hebrew, yes you are right.

I intend to write other pages in English.

Have a nice day

From:
(e-mail address removed)
 
H

Herfried K. Wagner [MVP]

* yos yul said:
If you mean I don't understand much there …
Because it is written in Hebrew, yes you are right.

That's the reason. But my pages are in German, and most people here
don't understand German, so that's not the problem. I hope everybody
here "speaks" VB.NET fluently.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top