add a new empty shape in the current slide.
This function is deprected, function ph_with
should be used
instead.
ph_empty(x, type = "body", index = 1, location = NULL)ph_empty_at(
x,
left,
top,
width,
height,
bg = "transparent",
rot = 0,
template_type = NULL,
template_index = 1
)
an pptx object
placeholder type (i.e. 'body', 'title')
placeholder index (integer). This is to be used when a placeholder type
is not unique in the current slide, e.g. two placeholders with type 'body', the first
one will be added with index 1 and the second one with index 2.
It is recommanded to use argument location
instead of type
and
index
.
a placeholder location object. This is a convenient
argument that can replace usage of arguments type
and index
.
See ph_location_type, ph_location, ph_location_label,
ph_location_left, ph_location_right, ph_location_fullsize.
location of the new shape on the slide
shape size in inches
background color
rotation angle
placeholder template type. If used, the new shape will inherit the style from the placeholder template. If not used, no text property is defined and for example text lists will not be indented.
placeholder template index (integer). To be used when a placeholder template type is not unique in the current slide, e.g. two placeholders with type 'body'.