

# ExtractionGranularity

Specifies the granularity levels at which Amazon Textract extracts content from a document.

## Contents
<a name="API_ExtractionGranularity_Contents"></a>

 ** Types **   <a name="Textract-Type-ExtractionGranularity-Types"></a>
The granularity levels at which Amazon Textract extracts content, from the whole document down to individual lines of text. Each type can appear only once.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Valid Values: `DOCUMENT | PAGE | ELEMENT | WORD | LINE`   
Required: No

## See Also
<a name="API_ExtractionGranularity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/textract-2018-06-27/ExtractionGranularity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/textract-2018-06-27/ExtractionGranularity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/textract-2018-06-27/ExtractionGranularity) 