This sample demonstrates how to insert watermark text into an existing document.
Remarks
This implementation uses a Form XObject [PDF:1.6:4.9] to conveniently achieve a consistent page
background. Form XObjects provide context independence encapsulating their contents (and resources)
in a single stream: such an approach allows content reuse.
The watermark is seamlessly inserted under each page content using the PageStamper class.
|