sample for print functionality

Posted by: suvi on 8 September 2017, 12:57 pm EST

  • Posted 8 September 2017, 12:57 pm EST

    Hi All


    I am using Spread for Windows Forms v25 for Visual Studio 2005. Please let me know is there any sample is available for these functions:


    1. show Print Preview


    2. show Print dialogue box.


    3. show page setup dialogue box.


    Regards


    suvi


     

  • Replied 8 September 2017, 12:57 pm EST

    suvi,


    If you go to the PrintInfo property of the Spread, there are properties for showing the print dialog and the print preview control when printing the Spread. There is not a seperate Page setup dialog. This is part of the print dialog.

     
    FpSpread1.Sheets(0).PrintInfo.Preview = True
    FpSpread1.Sheets(0).PrintInfo.ShowPrintDialog = True
    FpSpread1.PrintSheet(0)
     
Need extra support?

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

Learn More

Forum Channels