开发者

Embed office (Word Excel) into WinForms or WPF control

Is it possible to embed Office appli开发者_Python百科cation in WinForms control (having office installed on computer)?


You just need to add these using statements:

using Microsoft.Office.Interop;
using Microsoft.Office.Interop.Excel;

Then you can add ExcelObj and add a Workbork and a Worksheet to that. Its all pretty self explanatory.


Yes, it is possible. Excel is available as a control and you can use it. Look for licensing issues if any.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜