/// <summary> /// Write this element out to a document /// </summary> /// <param name="xml">The document to write out to</param> public override void writeXML(XmlTextWriter xml) { xml.WriteStartElement("sketcher"); xml.WriteStartElement("id"); xml.WriteString(id); xml.WriteEndElement(); if (nickname != null) { xml.WriteStartElement("nickname"); xml.WriteString(nickname); xml.WriteEndElement(); } if (dpi != null) { dpi.writeXML(xml); } xml.WriteEndElement(); }