Graphics devices for Microsoft PowerPoint DrawingML format.
dml_pptx(
file = "Rplots.dml",
width = 6,
height = 6,
offx = 1,
offy = 1,
bg = "white",
fonts = list(),
pointsize = 12,
editable = TRUE,
id = 1L,
last_rel_id = 1L,
raster_prefix = "raster_",
standalone = TRUE
)
the file where output will appear.
Height and width in inches.
top and left origin of the plot
Default background color for the plot (defaults to "white").
Named list of font names to be aliased with
fonts installed on your system. If unspecified, the R default
families sans
, serif
, mono
and symbol
are aliased to the family returned by match_family()
.
When you use specific fonts, you will need that font installed on your system.
This can be check with package gdtools
and function gdtools::font_family_exists()
.
An example: list(sans = "Roboto", serif = "Times", mono = "Courier")
.
default point size.
should vector graphics elements (points, text, etc.) be editable.
specifies a unique identifier (integer) within the slide that will contain the DrawingML instructions.
specifies the last unique identifier (integer) within relationship file that will be used to reference embedded raster images if any.
string value used as prefix for png files produced when raster objects are printed on the graphical device.
produce a standalone drawingml file? If FALSE
, omits
xml header and namespaces.