473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

To set the zoom level of a PrintPreviewDialog

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:
yu****@yahoo.com
http://www.go.to/yulyos
Nov 20 '05 #1
3 11750
* yu****@yahoo.com (yulyos) scripsit:
you cen get another codes at:
http://www.run.to/yulyos-vbnet


LOL -- I don't understand much there...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

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:
yu****@yahoo.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3
* yos yul <yu****@yahoo.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Happy New Year!
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Francis Parsons | last post by:
Hi! I'm doubtful there's a workaround for this problem, but it's worth a shot. I'm using IE's (css) "zoom" property to zoom the body of a document (in conjunction with persistance so the...
1
by: Alex Stevens | last post by:
Hi All, I have implemented my own toolbar on a form which houses the crystal reprot viewer. I would like to have a combobox to allow the user to change the zoom level to say 25 / 50 / 75 / 100...
2
by: Michael A. Covington | last post by:
By default, my PrintPreviewDialog is coming out too small. What is the best way to control its size and position? Ideally, I'd just like to maximize it. Thanks!
0
by: Harry J. Smith | last post by:
I am using the PrintPreviewDialog Window Form from the Toolbox. It displays my RichTextBox contents correctly, but when I click on the Print icon on this form it prints one blank page and no text....
2
by: Richard MSL | last post by:
I am using PrintPreviewDialog to preview a file. There is a button that the user can press, which seems to print the file to the default printer. I would like to capture a click on that button so...
3
by: Pete | last post by:
When the user changes the zoom level is it possible to 1. detect with javascript that the zoom level has changed? 2. get the value that the zoom level has changed to? Thanks
4
by: rakeshvthu | last post by:
Hi All, I have a requirement my Customer doesn't want to see any changes in the page when user clicks on Zoom button in IE7 or in any other browser that supports Zoom option. Can you please help...
1
by: Sunny | last post by:
Hi, IE7 has a zoom feature.(In IE7, If you look at lower Right Corner, there is a button that let you set the zoom level of ur webpage. the default is 100%.) The problem is I am drawing vml...
0
by: Blacky | last post by:
hi, I have a form where in i dropped a crystal report viewer.I created a report sample.rpt and this is the code which binds my report to the viewer. If (Session("rep") Is Nothing) Then ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.