-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLayout.cs
42 lines (36 loc) · 899 Bytes
/
Layout.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Xml;
namespace SheetSetManager
{
public class Layout : MyNode
{
public Layout(XmlElement nParent)
{
Parent = nParent;
}
public String Handle
{
get
{
XmlNode wNode = Parent.SelectSingleNode("./AcSmProp[@propname=\"AcDbHandle\"]");
return wNode.InnerText;
}
}
public String FileName
{
get
{
XmlNode wNode = Parent.SelectSingleNode("./AcSmProp[@propname=\"FileName\"]");
return wNode.InnerText;
}
}
public override String Name
{
get
{
XmlNode wNode = Parent.SelectSingleNode("./AcSmProp[@propname=\"Name\"]");
return wNode.InnerText;
}
}
}
}