Description Usage Arguments Details Author(s) See Also Examples
This function descends down a property tree given in the parameter
vector property
and sets the lowest level to value
.
1 | wdSetProperty(property, value, object = wdapp[["Selection"]], wdapp = .R2wd)
|
property |
The name of a property or a vector indicating a path in a property tree. |
value |
The value, the lowest level in the property tree should be set to. |
object |
The object on which the property tree should start. |
wdapp |
The handle to Word. |
This function descends down the indicated property tree. It can also
work with calls to the 'Items' method. In this case, the corresponding
item numbers should be inserted in the property
vector.
Christian Ritter
1 2 3 4 5 6 7 8 9 10 | ## Not run:
wdGet()
wdTitle("Title")
wdWrite("This is in normal font")
wdSetProperty(c("Font","Name"),"Garamond")
wdSetProperty(c("Font","Size"),20)
wdWrite("This is in 14pt Garamond")
wdNormal("This switches back to Normal")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.