Copy link to clipboard
Copied
Is it possible to use the Watermark API to strike through a section of PDF? I want to put a diagonal line through a portion of the page (not the whole page). If not, is there another means of accomplishing this?
Copy link to clipboard
Copied
@Aftia_Jeff the Watermark API is excellent for adding text or images across an entire page, it's generally not designed to apply a line to just a specific, partial section of a page or to draw arbitrary shapes like diagonal strike-throughs directly. Watermarks are typically fixed elements placed over or under the entire page content. You could try adding a custom annotation. You would need to digitally create a line annotation that can be precisely positioned and styled (including color and thickness) on a specific area of the page. This is how many PDF editors achieve strike-throughs. Or overlay a small image. Here you could create a very small image file that is just a diagonal line, and then use the API to precisely place that overlay onto your target section. This is a bit of a workaround but gives you precise control.
Copy link to clipboard
Copied
OK. Thanks for the reply!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now