new_slide {r2pptx}R Documentation

New slide

Description

Make a 'R2PptxSlide' object representing a PowerPoint slide.

Usage

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.


[Package r2pptx version 0.1.0 Index]