<html><head></head><body><div>
<meta charset="utf-8">
<div id="compose-body-wrapper" dir="auto"><div dir="auto">I was
looking for the one with the highest aspect ratio, which is 1080 x
1920 px and seems to be working well for my purposes. Thank you for the
help. </div><div dir="auto"><br></div></div><div class="replyHeader"
dir="auto">David Strip wrote:</div><br><br><div><blockquote
cite="mid:977883a4-e423-484a-b3b3-6cac12215076@stripfamily.net" type="cite"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">On 2/25/2025 10:26 AM, afernandez via
QGIS-User wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d64161623ec3.175e856cbe9cf@odyhpc.com">
<div dir="auto">This tells me that there're 32 preloaded pages but
I still cannot see the properties such as names (e.g. 'A4')
or
sizes (e.g. 3407 x 2480 pixels)</div>
<div dir="auto">Is there an easy way to retrieve more specific
information? Thanks </div>
</blockquote>
<br>
for entry in aaa.entries():<br>
pprint.pprint(entry.size)<br>
<QgsLayoutSize: 105 x 148 mm ><br>
<QgsLayoutSize: 148 x 210 mm ><br>
<QgsLayoutSize: 210 x 297 mm ><br>
<QgsLayoutSize: 297 x 420 mm ><br>
<QgsLayoutSize: 420 x 594 mm ><br>
<QgsLayoutSize: 594 x 841 mm ><br>
<QgsLayoutSize: 841 x 1189 mm ><br>
<QgsLayoutSize: 125 x 176 mm ><br>
<QgsLayoutSize: 176 x 250 mm ><br>
<br>
for entry in aaa.entries():<br>
pprint.pprint(entry.name)<br>
'A6'<br>
'A5'<br>
'A4'<br>
'A3'<br>
'A2'<br>
'A1'<br>
....<br>
<br>
<br>
</blockquote></div>
</div></body></html>