wendyguo | Posts: 74

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

 


Duo_Liang | Posts: 3776

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 | Posts: 3776

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


wendyguo | Posts: 74

Reply to: extract acrobat tag vs extract text tag

0 votes

Got it! Thanks Duo!

 

Wendy

 


wendyguo | Posts: 74

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