Following code example removes all annotation from PDF. However, I just want to remove watermark only from the PDF. Please provide the code example. Thanks.
// Instantiate Annotator object with input PDF path
using (Annotator annotator = new Annotator("input.pdf"))
{
SaveOptions saveOptions = new SaveOptions();
saveOptions.AnnotationTypes = AnnotationType.All;
//Save the final output PDF
annotator.Save("out.pdf", saveOptions);
}