Learn R Programming

R2wd (version 1.4)

wdApplyTheme: Apply a word template.

Description

Apply a word template.

Usage

wdApplyTheme(theme, wdapp = .R2wd)

Arguments

theme
The name of the theme.
wdapp
The handle to the Word application (see details).

Value

    Details

    This function applies the given Word template. Indicating the handle to the Word application is usually not necessary (will be tacitely initialized by the wdGet function and assigned to the session variable .R2wd.

    Examples

    Run this code
    ## apply a default theme with a blue background.
    wdApplyTheme("BlueCalm 100")
    ## remove the current theme
    wdApplyTheme("None")

    Run the code above in your browser using DataLab