473,320 Members | 1,722 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,320 software developers and data experts.

PrintPreviewDialog Display @ 100% Size?

I have the following PrintPreviewDialog code:
Code:
Private Sub tsbPrintPreview_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles tsbPrintPreview.Click
Dim PrintPreviewJournalEntry As New PrintPreviewDialog

document.DocumentName = CreateTmpRTFFile(rtfJournal)
PrintPreviewJournalEntry.Document = document

PrintPreviewJournalEntry.Icon = My.Resources.PrintPreview
PrintPreviewJournalEntry.Text = "Journal Print Preview"
PrintPreviewJournalEntry.UseAntiAlias = True
PrintPreviewJournalEntry.StartPosition = FormStartPosition.
CenterParent
PrintPreviewJournalEntry.PrintPreviewControl.AutoZ oom = True
PrintPreviewJournalEntry.PrintPreviewControl.Zoom = 1.0
PrintPreviewJournalEntry.ShowDialog()
End Sub

I would like the Dialog to display the document at 100% Size. The Zoom is
correct, but the actual Dialog size is not.

Feb 2 '07 #1
0 1086

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

Similar topics

3
by: Ramsey Schaffnit | last post by:
Context: I have to print personal information on a preprinted form I've never seen using a printer I've never seen. I want to use a control to overlay the PrintPreview to indicate where I've...
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!
3
by: sachin | last post by:
How to customize PrintPreviewDialog, such that, addition of a new button, change the functionality of existing button should be possible programatically. Sample code will help a lot. Moreover, what...
4
by: Kwok | last post by:
Hi, I want to print some record(s) from dataset.table(tbname) using PrintPreviewDailog and PrintDocument. But It has a infinity loop error. I use a class to control the print procedure. ...
1
by: Jack E. Hardie | last post by:
When I call the PrintPreviewDialog, the resulting default window and zoom size are too small to read. I have figured out how to resize the window, but can someone help me with the call to preset...
3
by: yulyos | last post by:
Hi, To set the zoom level of a PrintPreviewDialog: Dim YPreview As New PrintPreviewDialog() YPreview.Document = PrintDocument YPreview.WindowState = FormWindowState.Maximized...
0
by: Steve | last post by:
Hi all, I am finding that the page display in a PrintPreviewDialog contains some ugly graphics garbage. There appears to be a 1 pixel line along the bottom and right side which does not get...
1
by: rbinington | last post by:
Hi, I am trying to write a DNN module that has the ability to insert articles into an article repository. I want the users to be able to move pages around and enter text into the FCKEditor. I...
2
by: wreed06 | last post by:
Hello, I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.