0th

Percentile

Insert an iframe into a bsdoc object

Insert an iframe into a bsdoc object

Usage
# S3 method for bsdoc
addIframe(doc, src, width, height, seamless = FALSE,
par.properties = parProperties(text.align = "center", padding = 5), ...)
Arguments
doc

bsdoc object where iframe has to be added

src

url of the document to embed in the iframe

width

Specifies the width of an iframe

height

Specifies the height of an iframe

seamless

Specifies that the iframe should look like it is a part of the containing document

par.properties

paragraph formatting properties of the paragraph that contains iframe. An object of class parProperties

...

further arguments, not used.

Value

an object of class bsdoc.