ph_location_right
From officer v0.3.4
by David Gohel
location of a right body element
The function will return the location corresponding to a right bounding box. The function assume the layout 'Two Content' is existing.
Usage
ph_location_right(...)
Arguments
- ...
unused arguments
See Also
Other functions for placeholder location: ph_location_fullsize
,
ph_location_label
,
ph_location_left
,
ph_location_type
, ph_location
Examples
# NOT RUN {
library(magrittr)
read_pptx() %>%
add_slide(layout = "Title and Content", master = "Office Theme") %>%
ph_with("Hello", location = ph_location_left() ) %>%
ph_with("world", location = ph_location_right() ) %>%
print(target = tempfile(fileext = ".pptx") )
# }
Community examples
Looks like there are no examples yet.