wendyguo

extract acrobat tag vs extract text tag

0 votes

Hi

When create a package how to define extract text tag vs extract acrobat tag via JAVA SDK? One package can support both extract text tag and extract acrobat tag? 

Thanks

Wendy

 


Reply to: extract acrobat tag vs extract text tag

0 votes

Hi Wendy,

 

Use below code to identify the extraction types:

 

     .withDocument(DocumentBuilder.newDocumentWithName("Sample Contract")
                .fromFile("path_of_the_document")
                .withExtractionType(ExtractionType.TEXT_TAGS)                   //.withExtractionType(ExtractionType.ACROFIELDS)
                .enableExtraction())

 

And it's possible to have one document with text tags and one document with document extraction in one package.

 

Duo

 

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: extract acrobat tag vs extract text tag

0 votes

Hi Wendy,

 

It's true that without specifying ExtractionType will default the method to document extraction, so your assumption is kinda correct. But it won't hurt to explicitly set the extraction types to have better control over the design flow.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: extract acrobat tag vs extract text tag

0 votes

Got it! Thanks Duo!

 

Wendy

 


Reply to: extract acrobat tag vs extract text tag

0 votes

Hi Duo,

Only these two type of extraction, right?

Thanks

Wendy


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off