开发者

Insert Image to a Document

I am new to VC++, I want to know if it is possible to insert an image created by my kinect camera to a RTF doc or MSWord doc 开发者_运维百科using VC++ in a Win32Console Application? Any pointers on how can I achieve my goal? Thanks!


Yes, it is possible. I assume that you already have a way to get the image from the camera and save it to a file. RTF (specification) is an utter pig, but the spec will tell you how to add an image. Parsing an existing file to figure out where to add the image though, or creating a new file with the image already present, is an exercise I'll leave to you.

If you have any experience with COM then adding an image to a Word document might prove easier. This MSDN page (link) will help.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜