Unit

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

NameDescription
init

Methods

NameReturn TypeStaticDescription
eqboolNoDetermines whether this instance and a specified object, which must also be a Unit object, have the same value.
hashintNoReturns the hash code for the current instance.
strstrNoReturns a human-readable string representation of this Unit.

Properties

NameTypeDescription
documentfloatGets size value in document units.
inchesfloatGets size value in inches.
millimetersfloatGets size value in millimeters.
pixelsfloatGets size value in pixels.
pointfloatGets size value in point.