GetTopMargin

Description

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

Applies to

PDFTableOfContents object

Syntax

double GetTopMargin()

Return value

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

Usage

Call the function to get the margin between the table of contents and the top border of the page.

Examples

The following example gets the margin between the table of contents and the top border of the page.

Double ld_top
Ld_top = lpdf_toc.gettopmargin( )

See also

AddItem

GetBottomMargin

GetFont

GetItem

GetItemCount

GetLeftMargin

GetPosByPageIndex

GetRightMargin

GetStyle

GetTitle

RemoveAll

RemoveItem

SetBottomMargin

SetFont

SetLeftMargin

SetPosByPageIndex

SetRightMargin

SetStyle

SetTitle

SetTopMargin