Skip to content

how to know current page dimensions #981

Answered by andersonhc
abubelinha asked this question in Q&A
Discussion options

You must be logged in to vote

fpdf.w = Page width
fpdf.h = Page height
fpdf.epw = Effective page width: the page width minus its horizontal margins.
fpdf.eph = Effective page height: the page height minus its vertical margins.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@abubelinha
Comment options

@andersonhc
Comment options

@abubelinha
Comment options

@Lucas-C
Comment options

Answer selected by abubelinha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants