print preview can't display border

Posted by: lgw6237 on 8 September 2017, 2:10 pm EST

  • Posted 8 September 2017, 2:10 pm EST

    print preview can't display border,please run sample project,please see attach image and sample project.
    2009/12/printpreview image.rar
  • Replied 8 September 2017, 2:10 pm EST

    Hello,

    You are using Print_Preview Dialog to show the preview. I don't find any property or method to set the Zoom for PrintPreview Dialog.Zoom used for PrintPreviewDialog is a temporary zoom i don't this that there is a way to set the default zoom.

    Thanks,

     


     

     

  • Replied 8 September 2017, 2:10 pm EST

    hello,


          I'm sorry, i just hope that print preview dispaly correctly in any zoom level,How to do?  if it is OwnerPrintDraw method.


    Thanks

  • Replied 8 September 2017, 2:10 pm EST

    Hello,


    You can not set the default zoom of print preview. But if you set the PrintInfo.ZoomFactor = 1.1F then you get to see the borders in preview. However, it will increase the size of printing by 10%.


    Hope it will help. Thanks.

  • Replied 8 September 2017, 2:10 pm EST

    this is sample project
    2009/12/printpreview project.rar
  • Replied 8 September 2017, 2:10 pm EST

    Hello,

    I checked the sample project and the difference between the print preview, however the preview mode is a little tricky to use as amodel for what will be
    printed. Due to differences in scaling between the printer and the
    screen, certain percentages set in the Preview window will not show the
    one pixel horizontal/vertical border line. The printout should always
    work.If you set the zoom level you should be able to see the print preview fine, I tested with 100% zoom.

    Thanks

  • Replied 8 September 2017, 2:10 pm EST

    hello,


          But now, my customers hope that default print preview is origin size(display 100%,not 200% ),how to do that?


    Thanks


     


    2009/12/image size adjust.rar
  • Replied 8 September 2017, 2:10 pm EST

    Reeva Dhingra:

    Hello,


    You can not set the default zoom of print preview. But if you set the PrintInfo.ZoomFactor = 1.1F then you get to see the borders in preview. However, it will increase the size of printing by 10%.


    Hope it will help. Thanks.


      Sir


    I'm sorry,it's not work for me,do you have a method that can solution this problem enduringly? thanks.

  • Replied 8 September 2017, 2:10 pm EST

    Hello,

    It seems to be not possible to set the zoom level for preview when a PrintPreviewDialog is used.

    When a print preview is being shown none of the Spread's preview Event is fired so it doesn't give the facility to set the zoom factor.

     

    Thanks, 

     

     

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels