openpyxl.drawing.drawing module

class openpyxl.drawing.drawing.Drawing[source]

Bases: object

a drawing object - eg container for shapes or charts we assume user specifies dimensions in pixels; units are converted to EMU in the drawing part

anchor
count = 0
get_emu_dimensions()[source]

return (x, y, w, h) in EMU

Note

Deprecated: Private method used when serialising

height
set_dimension(w=0, h=0)[source]
width