Lấy danh sách tất cả các lớp
Contents
[
Hide
]Cách lấy danh sách tất cả các lớp
Vấn đề: Cách lấy danh sách tất cả các lớp.
Mẹo: Để thực hiện việc này, hãy sử dụng hàm Layers.GetLayersName() khi tải hình ảnh.
Ví dụ:
This file contains hidden or 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(); |