Enable / disable "Resize all pages" in Draw >= 26.8.0

Since LibreOffice 26.8.0 it is possible define several page size in a single draw document by unchecking the “Resize all pages” option in the “Page Properties” dialog.

How can I enable / disable this feature from a macro ?

Regards.