GetHeight

Description

Gets the height of the PDF page.

Applies to

PDFPage object

Syntax

double GetHeight()

Return value

double. The unit is point (pt). The height of the current page.

Usage

Call the function to get the height of the PDFPage object.

Examples

The following example gets the page height and width:

double ld_h, ld_w
//Get the page height
ld_h = lpdf_page.getheight()
//Get the page width
ld_w = lpdf_page.getwidth()

See also

AddContent

Clone

GetContent

GetContentCount

GetWidth

ImportContent

IndexOf

RemoveContent

SetHeight

SetPageSize

SetWidth