openpyxl.drawing.drawing module

class openpyxl.drawing.drawing.Drawing[源代码]

基类: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()[源代码]

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

注解

Deprecated: Private method used when serialising

height
set_dimension(w=0, h=0)[源代码]
width