How can I control margins in DominoPDF?

You can control margins by using the setting paramater in the DoPDF method of DominoPDF.

For example;

Call v.DoPDF(sURL, sPDF, “LeftMargin=10;RightMargin=10;TopMargin=10;RightMargin=10”)

By default the measurements are in MM. If you like you can specify in inches.

For example;

Call v.DoPDF(sURL, sPDF, “LeftMargin=1;RightMargin=1;TopMargin=1;RightMargin=1;UseInches=True”)

Comments are closed.