Applies to
PDFTableOfContents, PDFDocument, and PDFPage objects
Description
The LeftMargin property specifies the size (in points) of the left margin on the page.
For PDFTableOfContents, it is the margin between the table of contents and the left border of the page. If not set, the left margin of the PDF document will be used.
For PDFDocument, it is the margin between the document and the left border of the page.
For PDFPage, it is the margin between the PDF page and the left border of the page. If not set, the left margin of the PDF document will be used.
Usage
In scripts
The LeftMargin property takes a double value. The following line sets the left margin of table of contents to 20 points:
lpdf_toc.leftmargin = 20