Skip to content
Discussion options

You must be logged in to vote

That's an easy answer:

  1. There is fitz.paper_sizes a dictionary with key of paper format, like a4 or letter, and values of width and height - in portrait version.
  2. Landscape version simply is width / height exchanged.
  3. The pair of numbers are integers in point, where 72 points are one inch.

Example for format "Letter": (612, 792). 612 / 72 = 8.5 inches = 21.59 cm width, 792 / 72 = 11 inches = 27,94 cm height.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@arun-mani-j
Comment options

@JorjMcKie
Comment options

@arun-mani-j
Comment options

Answer selected by arun-mani-j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants