Page 1 of 1

ShowPrintButton

Posted: Sat Jun 18, 2016 10:30 am
by Ehsan
Hello,

How to only display print on PDF ?
there is three print button,
but I just want one of them, Print By PDF!

Re: ShowPrintButton

Posted: Mon Jun 20, 2016 11:15 am
by HighAley
Hello.

You could use next code to use Print to PDF button only:

Code: Select all

var options = new Stimulsoft.Viewer.StiViewerOptions();
options.toolbar.printDestination = Stimulsoft.Viewer.StiPrintDestination.Pdf;
viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
Thank you.