469,608 Members | 2,049 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,608 developers. It's quick & easy.

PrintPreviewDialog Display @ 100% Size?

I have the following PrintPreviewDialog 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.
PrintPreviewJournalEntry.PrintPreviewControl.AutoZ oom = True
PrintPreviewJournalEntry.PrintPreviewControl.Zoom = 1.0
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 928

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Michael A. Covington | last post: by
1 post views Thread by Jack E. Hardie | last post: by
reply views Thread by Steve | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.