To set the zoom level of a PrintPreviewDialog

  • Thread starter Thread starter yulyos
  • Start date Start date
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
 
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)
 
* 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.
 
Back
Top