由于某些对齐问题,我要在Word文档中生成一个表,我想将该表以图像格式保存在系统中,是否有从Word文档中保存该表的方法?
You can do this using the Windows API Clipboard functions. See GetClipboardData()
.
So it can be done in C# referencing the clipboard API.
Also check http://www.codeproject.com/Articles/2207/Clipboard-handling-with-NET , which uses the System.Windows.ClipBoard
class, a thin wrapper on the Windows API.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.