
Last chance! 50% off unlimited learning
Sale ends in
WrdStyle
can be used to get and set the style in Word for the text to be inserted. WrdStyle
returns the style at the current cursor position.WrdStyle(wrd = getOption("lastWord"))
WrdStyle(wrd) <- value
GetNewWrd()
or an existing one, created by GetCurrWrd()
.
Default is the last created pointer stored in getOption("lastWord")
.ToWrd
, WrdPlot
, GetNewWrd
, GetCurrWrd
# Windows-specific example
wrd <- GetNewWrd()
# the current stlye
WrdStyle(wrd)
Run the code above in your browser using DataLab