2/20/2023 0 Comments Download watermarks for wordUsing (var wordProcessor = new RichEditDocumentServer())ĭocument document = Define text watermark options. The code sample below adds a text watermark to all document pages. Pass a TextWatermarkOptions class instance to this method to specify text watermark options. Create a Text WatermarkĬall one of the WatermarkManager.SetText method overloads to add a text watermark to the document. This property returns None if the document does not contain watermarks. The WatermarkManager.Type property indicates whether a document has watermarks. If a document does not contain headers, WatermarkManager adds headers of the Primary type to all document sections. Watermarks are located in section headers. Use the Document.WatermarkManager property to access the WatermarkManager object. The Word Processing Document API ships with the WatermarkManager interface that allows you to insert and remove text and image watermarks. Run Demo: Word (RTF) Watermarks Add a Watermark to All Document Pages You can also print and export documents with watermarks to PDF. The Word Processing Document API allows you to create and remove watermarks in DOCX, DOC, and RTF documents. A watermark is a faded background image or text displayed behind document content.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |