class PageSize
Holds slide canvas and notes panel dimensions, and converts between CSS pixels and centimetres for WebDriver print (96 px/inch × 2.54 cm/inch).
Definitions
def slide_width_cm
Convert the slide width from CSS pixels to centimetres.
Signature
-
returns
Float The slide width in centimetres.
def slide_height_cm
Convert the slide height from CSS pixels to centimetres.
Signature
-
returns
Float The slide height in centimetres.
def notes_height_cm
Convert the notes panel height from CSS pixels to centimetres.
Signature
-
returns
Float The notes panel height in centimetres.