new_slide: New slide

Description Usage Arguments Value

View source: R/slide.R

Description

Make a 'R2PptxSlide' object representing a PowerPoint slide.

Usage

1
new_slide(layout, elements = list())

Arguments

layout

character. Name of the PowerPoint layout to use for this slide.

elements

list. List of 'R2PptxElements' to initialize the slide with. Defaults to empty list.

Value

An object of class R2PptxSlide representing a future PowerPoint slide.


r2pptx documentation built on Sept. 16, 2021, 1:07 a.m.