Export each Layout in separate PNG file

How to export each Layout in separate PNG file

Issue: How to export each Layout in separate PNG file.

Tips: To do this, you just need to go through all the layers and perform the Save method on each one.

Example: