Get list of all layers

How to get list of all layers

Issue: How to get list of all layers.

Tips: To do this, use the Layers.GetLayersName() function when loading the image.

Example: