예제 #1
0
 public override void ExportXml(StreamWriter writer, int level)
 {
     writer.WriteLine(XmlUtil.Indentation(level) + XmlUtil.OpenNamedTag("WzCanvas", this.Name, false, false) +
                      XmlUtil.Attrib("width", PngProperty.Width.ToString()) +
                      XmlUtil.Attrib("height", PngProperty.Height.ToString(), true, false));
     WzImageProperty.DumpPropertyList(writer, level, this.WzProperties);
     writer.WriteLine(XmlUtil.Indentation(level) + XmlUtil.CloseTag("WzCanvas"));
 }
예제 #2
0
 public override void ExportXml(StreamWriter writer, int level)
 {
     writer.WriteLine(XmlUtil.Indentation(level) + XmlUtil.OpenNamedTag("WzVector", this.Name, false, false) +
                      XmlUtil.Attrib("X", this.X.Value.ToString()) + XmlUtil.Attrib("Y", this.Y.Value.ToString(), true, true));
 }
예제 #3
0
 public override void ExportXml(StreamWriter pWriter, int pLevel)
 {
     pWriter.WriteLine(XmlUtil.Indentation(pLevel) + XmlUtil.OpenNamedTag("WzCanvas", Name, false, false) + XmlUtil.Attrib("width", PngProperty.Width.ToString()) + XmlUtil.Attrib("height", PngProperty.Height.ToString(), true, false));
     DumpPropertyList(pWriter, pLevel, WzProperties);
     pWriter.WriteLine(XmlUtil.Indentation(pLevel) + XmlUtil.CloseTag("WzCanvas"));
 }