First, I add a stamp to pdf files used iText7, about drawing's rev date... I get it. Second, if I update the drawings, need to update the stamp information, the simplest, to delete the stamp and add it again. But, I can't get the stamps in pdf.
PdfArray stamps = page.GetPdfObject().GetAsArray(PdfName.Stamp);
I find this way to get stamps, but the stamp is null. What should I do?
According to a comment you added the stamps in question like this:
I.e. as a stamp annotation with stamp name StampRML.
Thus, to remove it again, simply remove all annotations with that stamp name, e.g. like this:
(RemoveStampAnnotation test
testRemoveStampByShen
)