## BarCodeGeneratorControl.Resolution property

Gets or sets the resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.

```csharp
public float Resolution { get; set; }
```

### Exceptions

| exception | condition |
| --- | --- |
| [BarCodeException](../../../aspose.barcode/barcodeexception/) | The **Resolution** parameter value is less than or equal to 0. |

### See Also

* class [BarCodeGeneratorControl](../)
* namespace [Aspose.BarCode.Windows.Forms](../../../aspose.barcode.windows.forms/)
* assembly [Aspose.BarCode](../../../)


