com.groupdocs.watermark.common

Class UnitOfMeasurement



  • public final class UnitOfMeasurement
    extends Object

    Represents units of measurement.

    • Field Detail

      • Pixel

        public static final int Pixel

        Specifies that the unit of measurement is pixel.

        See Also:
        Constant Field Values
      • Point

        public static final int Point

        Specifies that the unit of measurement is point.

        See Also:
        Constant Field Values
    • Method Detail

      • toString

        public static final String toString(int value)

        Returns a string representation of the UnitOfMeasurement value.

        Parameters:
        value - The value to convert.
        Returns:
        The string representation of the UnitOfMeasurement value.