Description Usage Arguments Examples
Save active document as PDF file
1 2 |
file |
File name (if missing, current name is used). |
path |
Path to file. Current working directory is used as default. |
open |
Open PDF file after coversion? Default is |
wdapp |
The handle to the Word Application (usually not needed). |
1 2 3 4 5 | file <- system.file("inst/template.docx", package = "R2wdaddons")
wdGet2(file)
file <- tempfile(fileext=".pdf") # file in temp directory
wdSaveAsPdf(file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.