SetRightMargin

Description

Sets the margin from the right border of the page.

Applies to

PDFTableOfContents object

PDFDocument object

PDFPage object

Syntax

SetRightMargin(double right)

Argument

Description

right

The margin from the right border of the page. The unit is point (pt).


Return value

None.

Usage

When this function is called in PDFTableOfContents object, it sets the margin between the table of contents and the right border of the page.

When this function is called in PDFDocument object, it sets the margin between the document and the right border of the page.

When this function is called in PDFPage object, it sets the margin between the PDF page and the right border of the page.

Examples

This example sets the right margin for the table of contents.

lpdf_toc.SetRightMargin(100)

See also

AddItem

GetBottomMargin

GetFont

GetItem

GetItemCount

GetLeftMargin

GetPosByPageIndex

GetRightMargin

GetStyle

GetTitle

GetTopMargin

RemoveAll

RemoveItem

SetBottomMargin

SetFont

SetLeftMargin

SetPosByPageIndex

SetStyle

SetTitle

SetTopMargin