I have a PDF which contains a number of “layers” (or, more formally, optional content groups). I would like to extract all of the text which is contained within a given named layer. Can I do that with GemBox PDF? I’m not able to find that in the documentation, if so.
Unfortunately, we currently don’t provide API support for this.
However, note that we are now working on API for searching and extracting text in a PDF page or just a part of the page.
After this is done we can investigate your requirement further, for example, something like adding a layout filter on top.
Anyway, for now, can you send us a sample of your PDF file and specify what content you would like to extract?