尝试在 html 中添加 table{xx}也没与效果 <img src="https://solution-community.wps.cn/uploads/post/4QJ4WWc1yom.png" alt="image.png"/> <img src="https://solution-community.wps.cn/uploads/post/4QJ54CPChZ7.png" alt="image.png"/>
尝试在 html 中添加 table{xx}也没与效果 <img src="https://solution-community.wps.cn/uploads/post/4QJ4WWc1yom.png" alt="image.png"/> <img src="https://solution-community.wps.cn/uploads/post/4QJ54CPChZ7.png" alt="image.png"/>
你好,请先检查生成的HTML代码是否合法,向内容控件内插入内容请参考如下代码:
await app.ActiveDocument.ContentControls.Item(1).Range.PasteHtml({HTML:'1 1 2 2
'})