avoid margins
Posted: Wed Mar 15, 2023 10:44 am
In the PDF XChange Editor I can print a pdf file and set scale to none, so I get a print, that begins in the top left corner of the paper without margins.
Using the Core API SDK I allways get top and left margins, that are the hard margins of the printer. How can I avoid these margins? I.e., how can I get the same result, I get using the PDF XChange Editor?
I tried
Document.OriginAtMargins = true;
and
Document.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
but it does not work.
Thanks, Alex
Using the Core API SDK I allways get top and left margins, that are the hard margins of the printer. How can I avoid these margins? I.e., how can I get the same result, I get using the PDF XChange Editor?
I tried
Document.OriginAtMargins = true;
and
Document.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
but it does not work.
Thanks, Alex