How to change the icon of the PrintDialog

Posted by: levanduyet-fp on 8 September 2017, 3:04 pm EST

  • Posted 8 September 2017, 3:04 pm EST

    Hi,

    When I print the sheet on the Spread, I use the following code

    PrintInfo pi = new PrintInfo();
    pi.Preview = true;
    pi.ShowBorder = true;
    pi.Centering = Centering.Horizontal;
    pi.Margin.Top = 25;
    pi.UseMax = true;
    pi.ShowColumnHeader = PrintHeader.Hide;
    pi.ShowRowHeader = PrintHeader.Hide;
    pi.ShowPrintDialog = true;
               
              
    fpSpread.ActiveSheet.PrintInfo = pi;
    fpSpread.PrintSheet(luoi_chinh.ActiveSheet);

    Can I change the PrintDialog icon ? By defaut, it use the defaut icon of VSTO.

    Tks,

    LVD

  • Replied 8 September 2017, 3:04 pm EST

    Hello,

    It would not be possible to change the Print Dialog icon in the Print dialog of Spread as it uses System.Windows.Forms.PrintDialog control and it would not be possible to modify the same.

    Thanks,

    Manpreet Kaur

  • Replied 8 September 2017, 3:04 pm EST


    Hi Manpreet,

    If it use the defaut icon of VSTO, my program look not professional...Can you check with your tech people.

    Tks,

    LVD

  • Replied 8 September 2017, 3:04 pm EST

    Hello,

    Unfortunately, I could not find any way to change the icon of the Print dialog so it would not be possible to implement the same.

    THanks,

    Manpreet Kaur

Need extra support?

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

Learn More

Forum Channels