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

      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 int World
        Specifies the world coordinate system unit as the unit of measure.
      • Display

        public static int Display
        Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.
      • Pixel

        public static int Pixel
        Specifies a device pixel as the unit of measure.
      • Point

        public static int Point
        Specifies a printer's point (1/72 inch) as the unit of measure.
      • Inch

        public static int Inch
        Specifies the inch as the unit of measure.
      • Document

        public static int Document
        Specifies the document unit (1/300 inch) as the unit of measure.
      • Millimeter

        public static int Millimeter
        Specifies the millimeter as the unit of measure.
    • Constructor Detail

      • GraphicsUnit

        public GraphicsUnit()
    • Method Detail

      • getGraphicsUnitName

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