Free Support Forum - aspose.com

Extracting "Stamps" from pdf

I need to extract the content of "Stamps" that are added to a PDF document using the Acrobat program. These stamps are not images/watermarks, rather snippets of text with pre-defined subjects.

Is this possible with your component?


This message was posted using Aspose.Live 2 Forum

Hi,

You could try the PdfContentEditor.ReplaceText method and replace the existing text with an empty string. Other than that there is nothing which you can do with Aspose.Pdf.Kit.

Thanks.

Why would I replace existing text with an empty string? I want to EXTRACT the stamps.

Hi,

Sorry, I think I misunderstood your requirements. You can use PdfExtractor for this purpose. Please consult http://www.aspose.com/Products/Aspose.Pdf.Kit/Api/Extract-Text-from-PDF-Document.html and http://www.aspose.com/Products/Aspose.Pdf.Kit/Api/Extract-Image-from-PDF-Document.html

Thanks.

Hi,

I guess you mean "Stamp Annotation". This type of extraction is not supported now, even though Aspose.Pdf.Kit supports annotation extraction.

BTW, we have had a plan to enhance this feature.

Best regards,