
## Unit class

Specifies the size value in different units (Pixel, Inches, etc.).

The Unit type exposes the following members:
## Properties
| Name | Description |
| :- | :- |
|pixels|Gets or sets size value in pixels.|
|inches|Gets or sets size value in inches.|
|millimeters|Gets or sets size value in millimeters.|
|point|Gets or sets size value in point.|
|document|Gets or sets size value in document units.|
|resolution|Resolution|

### See Also

* namespace [aspose.barcode.generation](/barcode/python-net/aspose.barcode.generation/)
* assembly [Aspose.BarCode](/barcode/python-net/)

