
## XDimensionMode enum

**Module:** `aspose_barcode.recognition.x_dimension_mode`


Recognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar. This sample shows how to use XDimension mode


## Enum Values

| Name | Value | Description |
| --- | --- | --- |
| [AUTO](#auto) | `0` | Value of XDimension is detected by AI (SVM). At this time the same as Normal |
| [LARGE](#large) | `3` | Detects barcodes with large XDimension with quality from BarcodeQuality captured with high-resolution cameras. |
| [NORMAL](#normal) | `2` | Detects barcodes with classic XDimension in 2 pixels or more with quality from BarcodeQuality or high quality barcodes. |
| [SMALL](#small) | `1` | Detects barcodes with small XDimension in 1 pixel or more with quality from BarcodeQuality |
| [USE_MINIMAL_X_DIMENSION](#use_minimal_x_dimension) | `4` | Detects barcodes from size set in MinimalXDimension with quality from BarcodeQuality |
### XDimensionMode.AUTO {#auto}

**Type:** `int`

**Value:** `0`

Value of XDimension is detected by AI (SVM). At this time the same as Normal

### XDimensionMode.LARGE {#large}

**Type:** `int`

**Value:** `3`

Detects barcodes with large XDimension with quality from BarcodeQuality captured with high-resolution cameras.

### XDimensionMode.NORMAL {#normal}

**Type:** `int`

**Value:** `2`

Detects barcodes with classic XDimension in 2 pixels or more with quality from BarcodeQuality or high quality barcodes.

### XDimensionMode.SMALL {#small}

**Type:** `int`

**Value:** `1`

Detects barcodes with small XDimension in 1 pixel or more with quality from BarcodeQuality

### XDimensionMode.USE_MINIMAL_X_DIMENSION {#use_minimal_x_dimension}

**Type:** `int`

**Value:** `4`

Detects barcodes from size set in MinimalXDimension with quality from BarcodeQuality

