C1.Win.C1Editor.4 Assembly > C1.Win.C1Editor Namespace > C1Editor Class > CreateRange Method : CreateRange(C1TextPointer,C1TextPointer) Method |
'Declaration Public Overloads Function CreateRange( _ ByVal start As C1TextPointer, _ ByVal end As C1TextPointer _ ) As C1TextRange
public C1TextRange CreateRange( C1TextPointer start, C1TextPointer end )
private void button1_Click(object sender, EventArgs e) { c1Editor1.LoadXml("<html><head><title>Document</title></head><body><p>12<span>3</span>456</p></body></html>", new Uri("c:\\")); C1TextRange r = c1Editor1.CreateRange(1, 3); Console.WriteLine(r.Text); // Output: 234 }