将画布绘制到Word文档 [英] Draw canvas to word doc

查看:122
本文介绍了将画布绘制到Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用c#在Word文档的第二页上添加绘图画布.
现在,我仅将画布添加到第一页,而不添加到其他页面.


使用Microsoft.Office.Interop.Word;

形状shpCanvas2 = oDoc.Shapes.AddCanvas(10,10,200,400,ref oMissing);

请建议...

I want to add drawing canvas on second page of word document using c#.
Right now i add the canvas only to first page not to another pages.


using Microsoft.Office.Interop.Word;

Shape shpCanvas2 = oDoc.Shapes.AddCanvas(10, 10, 200, 400, ref oMissing);

Please suggest...

推荐答案

Navigate through word pages by using C#[^]

This link will help you find the 2 nd page content. So when you are in the second page add your canvas coed and you are all set.

Good luck.


这篇关于将画布绘制到Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆