Extract text zones from pdf in particular Layer

Hello,

Yes, you can extract text from a given layer, although it may be a little tricky, as the following post points out, you must copy the desired Optional Content Group (OCG) to a temporary page:

Can you clarify what you mean by “extract some text zones”?

Do you mean extract text from some areas, or get the areas of the extracted text?

May I ask what you are going to do with this information (perhaps I can make suggestions).

Joe