## BaseGenerationParameters.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 |
| --- | --- |
| ArgumentException | The **Resolution** parameter value is less than or equal to 0. |

### See Also

* class [BaseGenerationParameters](../)
* namespace [Aspose.BarCode.Generation](../../../aspose.barcode.generation/)
* assembly [Aspose.BarCode](../../../)


