tf = ap.text.TextFragmentAbsorber("!\d{1,5}!", ap.text.TextSearchOptions(True))
report_doc.pages.accept(tf)
tf_collection = tf.text_fragments
Is there any way to accept tf to specific page range instead of all pages or particulate one page?
tf = ap.text.TextFragmentAbsorber("!\d{1,5}!", ap.text.TextSearchOptions(True))
report_doc.pages.accept(tf)
tf_collection = tf.text_fragments
Is there any way to accept tf to specific page range instead of all pages or particulate one page?
We are afraid that this is not possible. API does not allow TextFargmentAbsorber to select text from a Page Range. Nevertheless, can you please share your complete code snippet and the API name/version that you are using? We will log a feature request and share the ID with you.