Results 1 to 4 of 4

Thread: Print Preview Zoom

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    Print Preview Zoom

    Hi All

    I finally managed to get a report Yeppee

    my report uses PrintPreviewDialog to preview the report im opening the previewer full screen, is there any way to set the zoom level to 150% so it will display most of my report in the window

    Many Thanks
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    I am afraid you have to use PrintPreviewControl instead of PrintPreviewDialog.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Print Preview Zoom

    Hi,

    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 %

  4. #4

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    thank you it worked a dream
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width