Description
Gets the margin from the right border of the page.
Applies to
Syntax
double GetRightMargin()
Return value
Double. Returns the right margin. The unit is point (pt).
Usage
When this function is called in PDFTableOfContents object, it gets the margin between the table of contents and the right border of the page.
When this function is called in PDFDocument object, it gets the margin between the document and the right border of the page.
When this function is called in PDFPage object, it gets the margin between the PDF page and the right border of the page.
Examples
The following example gets the margin between the table of contents and the right border of the page.
Double ld_right ld_right = lpdf_toc.getrightmargin( )
See also