R/wdSetFont.R

wdSetFont <-
function (fontname=NULL,fontsize=NULL, bold=NULL,italic=NULL,wdapp = .R2wd)
{
    wdsel <- wdapp[['Selection']]
    if (!is.null(fontname)) wdsel[['Font']][['Name']] <- fontname
    if (!is.null(fontsize)) wdsel[['Font']][['Size']] <- fontsize
    if (!is.null(bold)) wdsel[['Font']][['Bold']]<-bold
    if (!is.null(italic)) wdsel[['Font']][['Italic']]<-italic
    invisible()
}

Try the R2wd package in your browser

Any scripts or data that you put into this service are public.

R2wd documentation built on May 2, 2019, 8:54 a.m.