UnitOfMeasurement

Contents
[ ]

Inheritance: java.lang.Object

public final class UnitOfMeasurement

Represents units of measurement.

Fields

Field Description
Pixel Specifies that the unit of measurement is pixel.
Point Specifies that the unit of measurement is point.

Methods

Method Description
toString(int value) Returns a string representation of the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) value.

Pixel

public static final int Pixel

Specifies that the unit of measurement is pixel.

Point

public static final int Point

Specifies that the unit of measurement is point.

toString(int value)

public static final String toString(int value)

Returns a string representation of the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) value.

Parameters:

Parameter Type Description
value int The value to convert.

Returns: java.lang.String - The string representation of the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) value.