Get list of all layers
Contents
[
Hide
]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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<string> layers = cadImage.Layers.GetLayersNames(); |