Unit
Contents
[
Hide
]Unit class
Module: aspose_barcode.generation.unit
Specifies the size value in different units (Pixel, Inches, etc.). This sample shows how to create and save a BarCode image.
Constructors
| Name | Description |
|---|---|
| init |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| eq | bool | No | Determines whether this instance and a specified object, which must also be a Unit object, have the same value. |
| hash | int | No | Returns the hash code for the current instance. |
| str | str | No | Returns a human-readable string representation of this Unit. |
Properties
| Name | Type | Description |
|---|---|---|
| document | float | Gets size value in document units. |
| inches | float | Gets size value in inches. |
| millimeters | float | Gets size value in millimeters. |
| pixels | float | Gets size value in pixels. |
| point | float | Gets size value in point. |