Paper Office
paper-xlsxAPI referencedrawing.drawing

Drawing

paper-xlsx 0.2.1 API reference

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

Drawing()

Attributes

anchor

attributeanchor

anchorcol

attributeanchorcol
= 0

anchorrow

attributeanchorrow
= 0

anchortype

attributeanchortype
= 'absolute'

coordinates

attributecoordinates
= ((1, 2), (16, 8))

count

attributecount
= 0

description

attributedescription
= ''

height

attributeheight

left

attributeleft
= 0

name

attributename
= ''

resize_proportional

attributeresize_proportional
= False

rotation

attributerotation
= 0

top

attributetop
= 0

width

attributewidth

Functions

set_dimension

funcset_dimension(w=0, h=0)
paramw
= 0
paramh
= 0

On this page