开发者

Using Word Interop to Watermark doc and docx

开发者 https://www.devze.com 2023-03-02 18:36 出处:网络
Is there a way to use word interop (for instance) to watermark a doc or docx file? Any solution would be good, but it is going to have to work from within C#.

Is there a way to use word interop (for instance) to watermark a doc or docx file?

Any solution would be good, but it is going to have to work from within C#.

I.e. supply the code with a byte[] and it开发者_如何学JAVA will have to add a watermark and spit out a new byte[]


You can do that using Aspose Words, the C# library for creating and modifying Word documents without actually needing Word.

Have a look at http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-add-a-watermark-to-a-document.html.

No, I don't own Aspose shares, unfortunately...

0

精彩评论

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

关注公众号