Description
Gets the width of the PDF page.
Applies to
Syntax
GetWidth()
Return value
Double. The unit is point (pt). The width of the current page.
Usage
Call the function to get the width 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