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
65
UltraPrintPreviewDialog disable the Snapshot feature
posted

Is it possible to disable the Snapshot feature of the UltraPrintPreviewDialog,  so that the user cannot copy data from the report to the clipboard.

Using Version 8.3..

Thanks

Parents
  • 53790
    Suggested Answer
    posted

    Hi,
    Maybe one possible option is to hide the "Snapshot tool" button, before you show "Print Preview" window of ultraPrintPreviewDialog. What you could do is:


    private void button1_Click(object sender, EventArgs e)
    {
        // Show UltraPrintPreviewDialog1
        ultraPrintPreviewDialog1.PreviewMouseAction = Infragistics.Win.Printing.PreviewMouseAction.Hand;
        ultraPrintPreviewDialog1.ToolbarsManager.Tools["Snapshot Tool"].SharedProps.Visible = false;
        ultraPrintPreviewDialog1.ShowDialog();
    }


    Please if you have any questions, do not hesitate to ask me.
    Regards

Reply Children
No Data