C1.Win.C1Editor.4 Assembly > C1.Win.C1Editor Namespace > C1TextRange Class : Trim Method |
private void button1_Click(object sender, EventArgs e) { C1TextRange r = c1Editor1.Selection.Clone(); r.Trim(); r.ApplyStyle("background-color", "#999999", C1StyleType.Character); }