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
215
Printing from XamReportPreview
posted

Hi,

I'm using XamReportPreview to display a report. When printing from the print icon, is there a way to set a default filename when the standard print dialog comes up?

For example when the attached dialog box comes up, I'd like to default a filename. Is this possible?

Thanks,

Cristina.testfile.docx

Parents
No Data
Reply
  • 34810
    Offline posted

    Hello Cristina,

    I have been investigating into the ability to provide a default file name when the print dialog shows, and currently there does not exist a way to do this with the XamReportPreview. Internally, when you click the print button, we generate a System.Windows.Controls.PrintDialog and show it. I don't believe there are any arguments on the PrintDialog object that take a default file-name either, though, and so I'm not sure how this would be done, to be honest.

    If you would like to see the ability to provide a default file-name for the XamReportPreview, I would recommend suggesting a new product idea for this feature at our WPF Ideas Site. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.

    Please let me know if you have any other questions or concerns on this matter.

Children