sample for print functionality

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

  • Posted 8 September 2017, 12:57 pm EST

    <P>Hi All</P>
    <P>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:</P>
    <P>1. show Print Preview</P>
    <P>2. show Print dialogue box.</P>
    <P>3. show page setup dialogue box.</P>
    <P> </P>
  • Replied 8 September 2017, 12:57 pm EST

    <P>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.</P> <PRE class=coloredcode>FpSpread1.Sheets(0).PrintInfo.Preview = <SPAN class=kwd>True</SPAN>
    FpSpread1.Sheets(0).PrintInfo.ShowPrintDialog = <SPAN class=kwd>True</SPAN>
Need extra support?

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

Learn More

Forum Channels