On this page
Guides
Delete Watermark
To delete watermarks, follow these steps:
Call DeleteWatermarks()
on the CPDFDocument
object to remove all watermarks from the document.
This example shows how to delete the watermark:
swift
//Remove the first watermark from the document.
let watermarks = document?.watermarks()
document?.removeWatermark(watermarks[0])
objective-c
//Remove the first watermark from the document.
NSArray *watermarks = [document watermarks];
[document removeWatermark:watermarks[0]];