QGIS/resources/function_help/json/item_variables

16 lines
467 B
Plaintext
Raw Permalink Normal View History

{
"name": "item_variables",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["Layout"],
"description": "Returns a map of variables from a layout item inside this print layout.",
"arguments": [{
"arg": "id",
"description": "layout item ID"
}],
"examples": [{
"expression": "map_get( item_variables('Map 0'), 'map_scale')",
"returns": "scale of the item 'Map 0' in the current print layout"
}],
"tags": ["layout", "item", "variables", "print", "map"]
}