Read paragraphs in aspose pdf file without headers and footers

Hi,

I wanted to read each paragraphs from a pdf file using aspose.
I used the following code:

      foreach (PageMarkup markup in paragraphAbsorber.PageMarkups)
            {
                
                markup.IsMulticolumnParagraphsAllowed = false;
                foreach (MarkupSection section in markup.Sections)
                {
                    
                    foreach (MarkupParagraph paragraph in section.Paragraphs)
                    {
                         Console.WriteLine(paragraph.Text);
                      }
                }
        }

file : Global warming.pdf (756.5 KB)

But the header portions are also get read. I want to read all the texts from the document without header/footer.

Is it possible to do that?

@pooja.jayan

We think that it would be possible after performing a little investigation. An investigation task as PDFNET-52453 has been logged in our issue tracking system for the purpose. As soon as it is resolved, we will share a code sample with you. Please spare us some time.

The issues you have found earlier (filed as PDFNET-52453) have been fixed in Aspose.PDF for .NET 22.10.