Hi Charles (& others)
Thanks for the advice guys. I’ve come up with this, it works a treat.
[%'Scale 1:' || format_number(round(map_get(item_variables('Main-Map-1'),
'map_scale'),0),0)||
CASE
WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 210 THEN ' @ A4'
WHEN @layout_pagewidt
Hi,
Not sure it's available but you can use the following Python expression to
add the functionality
@qgsfunction(args='auto', group='Layout')
def get_page_format(layoutname, pagenumber, feature, parent, context):
layout = QgsProject.instance().layoutManager().layoutByName(layoutname)
pag
Yeah I am not aware of a variable for this... But page sizes are actually
more complicated than they seem. You can emulate it pretty easily with
something like the following expression on a layout as you suggested:
[%CASE
WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 210 THEN 'On A4
Land
Hi All
Is there a variable that returns the page size of a print layout?
I would like to add the page size to the scale below so it reads something
like "1:5,000 @ A3"
I can see variables for width and height, but not Page Size?
Or would I need to code in some 'if' & 'then' statements
Dear QGIS Users
The QGIS Open Day is fast approaching. This month's event will be dedicated
to unique techniques and processes that can be performed in QGIS.
*Sessions include:*
- *GIS Water* *plugin *by Xavier Torret & Albert Bofill*. *A QGIS Plugin
that can be used to manage water networ