我怀疑将TextFrame转换为图片,请帮助在VSTO或OpenXmlSDK中使用/不使用第三方库,如果有任何想法,请与我分享....
Word.Shapes shapes = Globals.ThisAddIn.Application.ActiveDocument.Shapes;
foreach (Word.Shape shape in shapes)
{
if (shape.TextFrame.HasText >= 1)
{
//how to convert TextFrame into as a Image
}
else
{
shape.Delete();
}
}
先谢谢, 萨兰
答案 0 :(得分:0)
一种方法是