Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
printing an UltraGridView, problems with bounds etc.
posted

Hi

I have several problems with printing an ultragridview.

1. isn't it possible to select which pages I'd like to print from the PreviewDialog (all I can do is

printing every page)?

2. I'm trying to set the bounds of my pages (per default they are set to approx 25mm) in code?
How can I do that?

 

thanks

Parents
  • 469350
    Verified Answer
    Offline posted

    mhaeberle said:

    1. isn't it possible to select which pages I'd like to print from the PreviewDialog (all I can do is

    printing every page)?

    This is typically handled by the PrintDocument which allows the user to choose a printer, the page range, and the number of copies. So it's not on the PrintPreviewDialog. I'm not entirely sure why, but it might be because the printer has to be known before the PrintPreviewDialog is shown in order for the preview to be accurate.

    You could Submit a feature request to Infragistics for this.

    The Print / PrintPreview sample in the WinGrid Samples explorer demonstrates how to set the page range in code.

    mhaeberle said:
    2. I'm trying to set the bounds of my pages (per default they are set to approx 25mm) in code?
    How can I do that?

    I' not sure what you mean by "bounds", but I think you might mean Margins. In which case, you can go to File-->Page Settings and change the margins there.

Reply Children