Description
Gets the margin from the left border of the page.
Applies to
Syntax
double GetLeftMargin()
Return value
Double. Returns the left 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 left border of the page.
When this function is called in PDFDocument object, it gets the margin between the document and the left border of the page.
When this function is called in PDFPage object, it gets the margin between the PDF page and the left border of the page.
Examples
The following example gets the left margin between the table of contents and the left border of the page.
Double ld_left ld_left = lpdf_toc.getleftmargin( )
See also