标签:
private Run SplitRun(Run run, int position)
{
Run beforeRun = (Run)run.Clone(true);
beforeRun.Text = run.Text.Substring(0, position);
beforeRun.Font.Underline = Underline.Single;
run.Text = run.Text.Substring(position);
run.ParentNode.InsertBefore(beforeRun, run);
return run;
}
标签:
原文地址:http://www.cnblogs.com/janehlp/p/4521212.html