C1.Win.C1Editor.4 Assembly > C1.Win.C1Editor Namespace > C1TextRange Class : MoveTo Method |
'Declaration Public Sub MoveTo( _ ByVal node As System.Xml.XmlNode _ )
public void MoveTo( System.Xml.XmlNode node )
private void button1_Click(object sender, EventArgs e) { XmlNode p0 = c1Editor1.Document.GetElementsByTagName("p")[0]; C1TextRange range = c1Editor1.CreateRange(); range.MoveTo(p0); range.Select(); }