Add a dml() object to a sheet in an xlsx workbook
created with officer::read_xlsx(). The plot is rendered as
editable vector graphics (DrawingML).
Usage
# S3 method for class 'dml'
sheet_add_drawing(
x,
value,
sheet,
left = 1,
top = 1,
width = 6,
height = 6,
...
)Arguments
- x
an rxlsx object (created by
officer::read_xlsx())- value
a
dml()object- sheet
sheet name (must already exist)
- left, top
left and top origin of the plot on the sheet in inches
- width, height
width and height in inches
- ...
additional arguments passed to
dml_xlsx()