aspose.word 查找文本并加下划线

 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;
}

  

  

上一篇:前端路由


下一篇:Web安全之点击劫持(ClickJacking)