Move a slide
Move a slide in a pptx presentation.
move_slide(x, index = NULL, to)
x
: an rpptx objectindex
: slide index, default to current slide position.to
: new slide index.cursor is set on the last slide.
x <- read_pptx() x <- add_slide(x) x <- ph_with(x, "Hello world 1", location = ph_location_type()) x <- add_slide(x) x <- ph_with(x, "Hello world 2", location = ph_location_type()) x <- move_slide(x, index = 1, to = 2)
read_pptx()
Other functions to manipulate slides: add_slide()
, on_slide()
, remove_slide()
, set_notes()
Useful links