The function will return the location corresponding to a left bounding box. The function assume the layout 'Two Content' is existing.
ph_location_left(newlabel = NULL, ...)
a label to associate with the placeholder.
unused arguments
Other functions for placeholder location:
ph_location_fullsize()
,
ph_location_label()
,
ph_location_right()
,
ph_location_template()
,
ph_location_type()
,
ph_location()
# NOT RUN {
doc <- read_pptx()
doc <- add_slide(doc)
doc <- ph_with(doc, "Hello left", location = ph_location_left() )
doc <- ph_with(doc, "Hello right", location = ph_location_right() )
print(doc, target = tempfile(fileext = ".pptx") )
# }
Run the code above in your browser using DataLab