- 教学
- 下载
- 作文
- 知识
- 课件
- 教案
概要: foreach(string strKeyWord in strKeyWordList) { oText=null; oText=shape.TextFrame.TextRange.Find(strKeyWord,0,Microsoft.Office.Core.MsoTriState.msoFalse,Microsoft.Office.Core.MsoTriState.msoTrue); if (oText!=null) { MessageBox.Show("文档中包含指定的关键字 "+strKeyWord+" !","搜索结果",MessageBoxButtons.OK); continue; } } }}上一页 [1] [2]
用C#实现在PowerPoint文档中搜索文本,标签:PPT技巧,电脑基础教程,http://www.wenxue9.com
{
oText=null;
oText=shape.TextFrame.TextRange.Find(strKeyWord,0,Microsoft.Office.Core.MsoTriState.msoFalse,Microsoft.Office.Core.MsoTriState.msoTrue);
if (oText!=null)
{
MessageBox.Show("文档中包含指定的关键字 "+strKeyWord+" !","搜索结果",MessageBoxButtons.OK);
continue;
}
}
}
}