دریافت نامهای طرح
Contents
[
Hide
]چگونه نامهای طرح را دریافت کنیم
مسئله: چگونه نامهای طرح را دریافت کنیم.
نکات: برای دریافت نامهای طرح، لازم است از کلاس CadLayoutDictionary در تصویر استفاده کنید.
مثال:
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
CadLayoutDictionary layouts =((CadImage)cadImage).Layouts; | |
string[] layoutNames = new string[layouts.Count]; | |
int i = 0; | |
foreach (CadLayout layout in layouts.Values) | |
{ | |
layoutNames[i++] = layout.LayoutName; | |
} |