nicewillsuccess
nicewillsuccess
var oDocument = Api.GetDocument(); var oParagraph = oDocument.GetElement(2); var aSearch = oParagraph.Search("text"); aSearch[0].SetBold(true);
> 版本 8.1.1 已发布,因此我关闭了此问题。如果您有更多问题,请随时发表评论或重新打开它。 I tried with the new version, but the issue persists. If a line break is added and then oParagraph.Search is used, it will select the line...
var oParagraphLineBreak = oDocument.GetElement( 2); var oRun = Api.CreateRun(); oRun.AddLineBreak(); oParagraphLineBreak.AddElement(oRun); oRun = Api.CreateRun(); oRun.AddText("hello"); oRun.SetFontSize(32); oRun.SetShd("clear", 240, 230, 140); oParagraphLineBreak.AddElement(oRun); var oSearch = oParagraphLineBreak.Search("hello"); oSearch[0].Delete(); This is part of...
Hello, has this issue been resolved? @Rita-Bubnova