C1.Win.C1Editor.4 Assembly > C1.Win.C1Editor Namespace > C1TextRange Class : SetXmlElement Method |
'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); }