Re: [Qgis-user] Print layout rectangle not working properly

2024-11-10 Thread Nigel Berjak - General via QGIS-User
Hi Asim Before delving into any coding issues, I wonder whether this may simply be related to the layout page size and the map element shape, which is not the same proportions as your extent that you are aiming to set. If you are not requiring a specific map element size and this can be varia

[Qgis-user] Print layout rectangle not working properly

2024-11-08 Thread Asim al-sofi via QGIS-User
Hi all Iam trying to make a print layout using a defined rectangle. The print layout created using the rectangle is correct in the x coordinates but in the y coordinates it is always smaller than the defined rectangle. *The code snippet is:* layout = QgsPrintLayout(project) layoutName = "PrintLayou