c# VSTO 将word 里面的图表保存成图片
2021-01-22 05:15
标签:als div sof word button column lin 保存 col c# VSTO 将word 里面的图表保存成图片 标签:als div sof word button column lin 保存 col 原文地址:https://www.cnblogs.com/gisbeginner/p/12083707.html private void button1_Click(object sender, RibbonControlEventArgs e)
{
Document doc = Globals.ThisAddIn.Application.ActiveDocument;
Paragraphs pp= doc.Content.Paragraphs;
Form1 form = new Form1();
form.Show();
Tables tablelist= doc.Tables;
Table table = tablelist[1];
Columns cc= table.Columns;
Rows rr = table.Rows;
Shapes shapelist= doc.Shapes;
Application m_app = Globals.ThisAddIn.Application;
Bookmarks booklist = doc.Bookmarks;
Range rangelist = doc.Range();
int nCount = m_app.ActiveDocument.Styles.Count;
for (int j = 1; j )
{
Microsoft.Office.Interop.Word.Style stl = m_app.ActiveDocument.Styles[j];
}
Paragraphs ppplist = doc.Paragraphs;
List
上一篇:C# 获取图像的旋转角度
文章标题:c# VSTO 将word 里面的图表保存成图片
文章链接:http://soscw.com/index.php/essay/45311.html