Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone.
I'm trying to show the first 10 rows of a table in pixel perfect and I saw a documentation that indicated that it could be done through a C# script, but I apply the script and it doesn't work for me and in a video I saw it can be seen that it works correctly, but I did everything the same and it still doesn't work, could you please help me.
My Nprinting version is Qlik NPrinting September 2022, Version: 20.31.2.0.
Here the code I have used:
using System.Drawing.Printing;
private int detailRowCount = 0;
private int topNRow = 10; //number of rows to be displayed. change this to display a different number of rows
//show only the first topNRow rows
private void Detail_BeforePrint(object sender, PrintEventArgs e) {
if (++detailRowCount > topNRow)
e.Cancel = true;
}
Hi,
Refer to my answer in the post https://community.qlik.com/t5/Qlik-NPrinting/How-to-create-a-pixel-perfect-table-limited-to-10-rows/...
Best Regards,
Ruggero
Hi,
Refer to my answer in the post https://community.qlik.com/t5/Qlik-NPrinting/How-to-create-a-pixel-perfect-table-limited-to-10-rows/...
Best Regards,
Ruggero