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

property anchor
count = 0
get_emu_dimensions()[源代码]

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

备注

Deprecated: Private method used when serialising

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