Automatic open print preview
Ina Colman
Hi,I want to automatic open a print preview when I click on a button of a form.
I tried this c# code :
SwissAddonFramework.UI.Dialogs.BrowserPopupWindow.OpenPrintPreview("T0000008");
But it doesn't work.
Which code can I use?
Thanks,
Ina
Manuel Marhold
Hi Ina,I think ExecutePrintDef should be the function you need.
or procedd a click on the menu-item
Michael Egloff
Hi Ina,you can call the coresuite designer directly.
Something like
LayoutHelper.LayoutOpener.OpenLayout("LayoutCode", parameter1, parameter1Value, parameter2, parameter2Value, ... etc);where parameterX are the parameters and parameterXValue are the values of the parameters which the layout is needing.
Ina Colman
Thank you
0
Please sign in to leave a comment.
Comments
0 comments