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)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.