get_layout function

Layout selection helper

Layout selection helper

Select a layout by name or index. The master name is inferred and only required for disambiguation in case the layout name is not unique across masters.

get_layout(x, layout, master = NULL)

Arguments

  • x: An rpptx object.

  • layout: Layout name or index. Index refers to the row index of the layout_summary()

    output.

  • master: Name of master. Only required if layout name is not unique across masters.

Returns

A <layout_info> object, i.e. a list with the entries index, layout_name, layout_file, master_name, master_file, and slide_layout.