Description
Sets the height of the PDF page.
Applies to
Syntax
SetHeight(double height)
Return value
None.
Usage
Call the function to set the height of the page of the PDFPage object.
Examples
This example creates a PDFPage, sets its width, height, and content, and adds it to a PDF document.
PDFpage lpdf_page PDFdocument lpdf_doc PDFtext lpdf_text lpdf_page = create PDFpage lpdf_doc = create PDFdocument lpdf_text = create PDFtext lpdf_page.setwidth(792) lpdf_page.setheight(1224) lpdf_text.content = "text content" lpdf_page.addcontent(lpdf_text) lpdf_doc.addpage(lpdf_page) lpdf_doc.save("D:\addcontent.pdf")
See also