wdPageSetup: Modify page setup in Word.

Description Usage Arguments Details Examples

View source: R/wdPageSetup.R

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 29, 2017, 11:06 p.m.

Search within the R2wd package
Search all R packages, documentation and source code