I cannot get any text or pictures from this PDF

I want to remove the watermark,but I cannot get any text or pictures from this PDF

test.pdf (280.4 KB)


Can you please share the sample code snippet with which you are trying to remove the watermark? We will test the scenario in our environment and address it accordingly.


var doc = new Aspose.Pdf.Document(“test.pdf”);
var absorber = new Aspose.Pdf.Text.ParagraphAbsorber();
foreach (var markup in absorber.PageMarkups)
foreach (var section in markup.Sections)
var textFragmentAbsorber = new Aspose.Pdf.Text.TextFragmentAbsorber();
var page = doc.Pages[1];
foreach (var textFragment in textFragmentAbsorber.TextFragments)
var extractor = new Aspose.Pdf.Facades.PdfExtractor();
while (extractor.HasNextImage())
System.IO.MemoryStream pageStream = new System.IO.MemoryStream();
extractor.GetNextImage(pageStream, System.Drawing.Imaging.ImageFormat.Png);

I have used various methods, but I can’t get any text or pictures


Always equal to 0


We have checked the PDF document that you have shared and also tested the shared code snippet with 21.6 version of the API. The code is not extracting any content from PDF because your document does not contain any text or images. The content is actually drawn in the PDF. If you open the PDF in Adobe Reader and search for any text, it is also unable to find it.

We have already logged an investigation ticket to extract drawn objects from PDF documents. The ticket has been logged under the ID PDFNET-49585 which has been linked to this post as well so that you will receive notification as soon as it is resolved. Please be patient and spare us some time.