I am trying to redact the underlying text in pdf. PDF is sent to method as a multipart file object.
Option1(preferred):
Getting the inkstrokes to get the annotation data.
Saving the output as bytestream for the client…...PDF document Document doc = new Document("input.pdf"); // Define...area to redact Rectangle rect = new Rectangle(200, 500, 300, 600);...