## AutoSizeMode enumeration

Specifies the different types of automatic sizing modes.

```csharp
public enum AutoSizeMode
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| None | `0` | Automatic resizing is disabled. |
| Nearest | `1` | Resizes barcode to nearest lowest possible size specified by ImageWidth and ImageHeight properties. Preserves default aspect ratio. |
| Interpolation | `2` | Resizes barcode to specified size. Size can be specified by ImageWidth and ImageHeight properties. Generated barcode may be invalid (not readable) after scaling. |

### See Also

* namespace [Aspose.BarCode.Generation](../../aspose.barcode.generation/)
* assembly [Aspose.BarCode](../../)


