Existing objects in word processing document
Leave feedback
On this page
Watermarker.get_content() returns a WordProcessingContent whose sections each expose a shapes collection. Watermarks added to a Word document are shapes, so this is how you find, modify, and remove watermarks that already exist in a document.
You can replace a shape’s text by assigning to shape.text, replace its image by assigning a WordProcessingWatermarkableImage to shape.image, set or clear a hyperlink via shape.hyperlink, and modify its position, size, and rotate_angle. Headers and footers are available through section.headers_footers.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.