ph_location_left {officer} | R Documentation |
Location of a left body element
Description
The function will return the location corresponding
to a left bounding box. The function assume the layout 'Two Content'
is existing. This is an helper function, if you don't have a layout
named 'Two Content', use ph_location_type()
and set arguments
to your specific needs.
Usage
ph_location_left(newlabel = NULL, ...)
Arguments
newlabel |
a label to associate with the placeholder. |
... |
unused arguments |
See Also
Other functions for placeholder location:
ph_location()
,
ph_location_fullsize()
,
ph_location_id()
,
ph_location_label()
,
ph_location_right()
,
ph_location_template()
,
ph_location_type()
Examples
doc <- read_pptx()
doc <- add_slide(doc, "Title and Content")
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"))
[Package officer version 0.6.10 Index]