Hello!
I need to print barcode labels, and for the same i need to calculate the max no. of columns and rows that would fit within the MarginBounds of the PrintDocument.
Yes i could simply divide the PageWidth with the width of the Label, but after every column(and row) i need to give an margin of 0.15 inches (my PageUnits are Inches).
How should i include this margin in the calculation to get the max no. of rows and columns that would fit in the page.
Thanks
Regards
Aashish Agarwal
I need to print barcode labels, and for the same i need to calculate the max no. of columns and rows that would fit within the MarginBounds of the PrintDocument.
Yes i could simply divide the PageWidth with the width of the Label, but after every column(and row) i need to give an margin of 0.15 inches (my PageUnits are Inches).
How should i include this margin in the calculation to get the max no. of rows and columns that would fit in the page.
Thanks
Regards
Aashish Agarwal