Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Experts,
I want to apply wait command in script section of my picture object in Nprinting
private void pictureBox1_AfterPrint(object sender, System.EventArgs e) {
wait(10000);
}
This is to ensure, pictures are rendered before Nprinting server proceeds with further printing.
But with above code, I am getting the error that:
The name 'wait' does mot exist in the current context.
Is there a way to make the picture box wait after rendering so that images are displayed properly?
Hi,
I am sorry but its pretty much related to Nprinting because I am writing the script in pixel perfect report Nprinting template.
The code right now I am using to make the picture box object wait:
private void pictureBox1_AfterPrint(object sender, System.EventArgs e) {
System.Threading.Thread.Sleep(10000);
}
So, closing the thread since I already got the solution. Thank you!
Hi,
this is not NPrinting related question. You may want to ask it in Qlik Sense extensions section.
Hi,
I am sorry but its pretty much related to Nprinting because I am writing the script in pixel perfect report Nprinting template.
The code right now I am using to make the picture box object wait:
private void pictureBox1_AfterPrint(object sender, System.EventArgs e) {
System.Threading.Thread.Sleep(10000);
}
So, closing the thread since I already got the solution. Thank you!
No worries. From post It was not clear where you were putting your script. Glad you found solution. Cheers