com.aspose.barcode

Class GraphicsUnit

  • java.lang.Object
    • com.aspose.barcode.GraphicsUnit


  • public final class GraphicsUnit
    extends java.lang.Object
    Specifies the unit of measure for the given data.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Display
      Specifies the unit of measure of the display device.
      static int Document
      Specifies the document unit (1/300 inch) as the unit of measure.
      static int Inch
      Specifies the inch as the unit of measure.
      static int Millimeter
      Specifies the millimeter as the unit of measure.
      static int Pixel
      Specifies a device pixel as the unit of measure.
      static int Point
      Specifies a printer's point (1/72 inch) as the unit of measure.
      static int World
      Specifies the world coordinate system unit as the unit of measure.
    • Constructor Summary

      Constructors 
      Constructor and Description
      GraphicsUnit() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getGraphicsUnitName(int graphicsUnit) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • World

        public static final int World
        Specifies the world coordinate system unit as the unit of measure.
        See Also:
        Constant Field Values
      • Display

        public static final int Display
        Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.
        See Also:
        Constant Field Values
      • Pixel

        public static final int Pixel
        Specifies a device pixel as the unit of measure.
        See Also:
        Constant Field Values
      • Point

        public static final int Point
        Specifies a printer's point (1/72 inch) as the unit of measure.
        See Also:
        Constant Field Values
      • Inch

        public static final int Inch
        Specifies the inch as the unit of measure.
        See Also:
        Constant Field Values
      • Document

        public static final int Document
        Specifies the document unit (1/300 inch) as the unit of measure.
        See Also:
        Constant Field Values
      • Millimeter

        public static final int Millimeter
        Specifies the millimeter as the unit of measure.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GraphicsUnit

        public GraphicsUnit()
    • Method Detail

      • getGraphicsUnitName

        public static java.lang.String getGraphicsUnitName(int graphicsUnit)