GetLeftMargin

Description

Gets the margin between the table of contents and the left border of the page.

Applies to

PDFTableOfContents object

Syntax

double GetLeftMargin()

Return value

Double. Returns the left margin. The unit is point (pt).

Usage

Call the function to get the margin between the table of contents 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

AddItem

GetBottomMargin

GetFont

GetItem

GetItemCount

GetPosByPageIndex

GetRightMargin

GetStyle

GetTitle

GetTopMargin

RemoveAll

RemoveItem

SetBottomMargin

SetFont

SetLeftMargin

SetPosByPageIndex

SetRightMargin

SetStyle

SetTitle

SetTopMargin