Description Usage Arguments Value Examples
View source: R/commonProperties.R
This property is repeated in various of the request. Hence, to reduce the number of times this would appear in the code base, a function is created to handle the creation of this list.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
page_object_id |
A character vector that contains the page id of the slide |
width_magnitude |
(Optional) A numeric vector that contains the width of the component |
height_magnitude |
(Optional) A numeric vector that contains the height of the component |
scale_x |
(Optional) A numeric vector that tells how the object is to be sized |
scale_y |
(Optional) A numeric vector that tells how the object is to be sized |
shear_x |
(Optional) A numeric vector that tells how the object is to be sheared |
shear_y |
(Optional) A numeric vector that tells how the object is to be sheared |
translate_x |
(Optional) A numeric vector that tells how the object is to be located |
translate_y |
(Optional) A numeric vector that tells how the object is to be located |
width_unit |
(Optional) A string vector that tells the measurement unit to use to locate the elements on the slide for the width element |
height_unit |
(Optional) A string vector that tells the measurement unit to use to locate the elements on the slide for the height element |
transform_unit |
(Optional) A string vector that tells the measurement unit to use to locate the elements on the slide for the transform element |
A PageElementProperty Object
1 2 3 4 5 6 7 8 | ## Not run:
library(googleslides)
# There is only one compulsory field which is pageObjectId is the
# 'slide id' of the slide being referenced to
pageElementProperty <- page_element_property("12345")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.