Verkrijgen van lay-outnamen
Contents
[
Hide
]Hoe lay-outnamen te verkrijgen
Probleem: Hoe lay-outnamen te verkrijgen.
Tips: Om lay-outnamen te verkrijgen, is het nodig om de CadLayoutDictionary-klasse in het beeld te gebruiken.
Voorbeeld:
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
CadLayoutDictionary layouts =((CadImage)cadImage).Layouts; | |
string[] layoutNames = new string[layouts.Count]; | |
int i = 0; | |
foreach (CadLayout layout in layouts.Values) | |
{ | |
layoutNames[i++] = layout.LayoutName; | |
} |