Create a new list element.
newFigure(file, ..., fileHighRes = NA,
type = IMAGE.TYPE.RASTER, exportId = NULL,
protection = PROTECTION.PUBLIC)Path or URL to the image file. Paths can be absolute or relative.
Strings that will be concatenated to form the figure caption.
Path or URL to a high-resolution or vector-based version of the image file. Paths can be absolute or relative.
Currenlty only IMAGE.TYPE.RASTER is allowed.
Unique string to identify this element.
Used to retrieve the element using
getExportedElement.
Procection level. One of PROTECTION.PUBLIC, PROTECTION.GROUP, PROTECTION.PRIVATE.
New element.