[英]Using Word Interop to Watermark doc and docx
Is there a way to use word interop (for instance) to watermark a doc or docx file?有没有办法使用 word interop(例如)给 doc 或 docx 文件加水印?
Any solution would be good, but it is going to have to work from within C#.任何解决方案都很好,但它必须在 C# 内工作。
Ie supply the code with a byte[] and it 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.您可以使用 Aspose Words、C# 库来创建和修改 Word 文档,而实际上不需要 Word。
Have a look at http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-add-a-watermark-to-a-document.html .看看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...不,我不拥有 Aspose 股票,不幸的是......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.