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