'Declaration Public Sub SetXmlElement( _ ByVal element As System.Xml.XmlElement _ )
public void SetXmlElement( System.Xml.XmlElement element )
Parameters
- element
- An XmlElement to replace the range content.
'Declaration Public Sub SetXmlElement( _ ByVal element As System.Xml.XmlElement _ )
public void SetXmlElement( System.Xml.XmlElement element )
private void button1_Click(object sender, EventArgs e) { XmlElement node = c1Editor1.Document.CreateElement("div"); node.InnerText = "New Element"; c1Editor1.Selection.SetXmlElement(node); }