pdfgraphicsunit-ag凯发旗舰厅



com.spire.pdf.graphics
enum pdfgraphicsunit

java.lang.object
  extended by java.lang.enum<pdfgraphicsunit>
      extended by com.spire.pdf.graphics.pdfgraphicsunit
all implemented interfaces:
java.lang.comparable<pdfgraphicsunit>

public enum pdfgraphicsunit
extends java.lang.enum<pdfgraphicsunit>

specifies the types of the page's logical units.


enum constant summary
centimeter
          specifies the measurement is in centimeters.
document
          specifies the document unit (1/300 inch) as the unit of measure.
inch
          specifies the inch as the unit of measure.
millimeter
          specifies the measurement is in millimeters.
pica
          specifies the measurement is in picas.
pixel
          specifies the unit of measurement is 1 pixel.
point
          specifies a printer's point (1/72 inch) as the unit of measure.
 
method summary
 java.lang.string getname()
           
 int getvalue()
           
 
enum constant detail

centimeter

public static final pdfgraphicsunit centimeter
specifies the measurement is in centimeters.

pica

public static final pdfgraphicsunit pica
specifies the measurement is in picas. a pica represents 12 points.

pixel

public static final pdfgraphicsunit pixel
specifies the unit of measurement is 1 pixel.
see also:
unit is device dependent unit. the result depends on the default dpi on the machine.

point

public static final pdfgraphicsunit point
specifies a printer's point (1/72 inch) as the unit of measure.

inch

public static final pdfgraphicsunit inch
specifies the inch as the unit of measure.

document

public static final pdfgraphicsunit document
specifies the document unit (1/300 inch) as the unit of measure.

millimeter

public static final pdfgraphicsunit millimeter
specifies the measurement is in millimeters.
method detail

getname

public java.lang.string getname()

getvalue

public int getvalue()


网站地图