wdPageSetup: Modify page setup in Word.

Description Usage Arguments Details Examples

Description

Modify page setup in Word.

Usage

1
wdPageSetup(orientation = "portrait", margins = rep(1, 4), scope = "section", wdapp = .R2wd)

Arguments

orientation

page orientation, either "portrait" or "landscape"

margins

a vector of page margins in inches (a unit variable will be supplied later)

scope

whether the change applies to the entire document ("all") or only to the present section ("section").

wdapp

handle to the Word Application (usually not needed).

Details

this invokes the required methods in word to set page orientation and margins

Examples

1
2
3
4
5
## Not run: 
 wdGet()
wdPageSetup(orientation="landscape",margins=c(2,2,2,2),scope="all")

## End(Not run)

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