PaperSize
内容
[
隐藏
]遗产: java.lang.Object
public class PaperSize
指定纸张大小。
字段
| 场地 | 描述 |
|---|---|
| A3 | 297 x 420 毫米。 |
| A4 | 210 x 297 毫米。 |
| A5 | 148 x 210 毫米。 |
| B4 | 250 x 353 毫米。 |
| B5 | 176 x 250 毫米。 |
| CUSTOM | 自定义纸张尺寸。 |
| ENVELOPE_DL | 110 x 220 毫米。 |
| EXECUTIVE | 7.25 x 10.5 英寸。 |
| FOLIO | 8.5 x 13 英寸。 |
| LEDGER | 17 x 11 英寸。 |
| LEGAL | 8.5 x 14 英寸。 |
| LETTER | 8.5 x 11 英寸。 |
| NUMBER_10_ENVELOPE | 4.125 x 9.5 英寸。 |
| PAPER_10_X_14 | 10 x 14 英寸。 |
| PAPER_11_X_17 | 11 x 17 英寸。 |
| QUARTO | 8.47 x 10.83 英寸。 |
| STATEMENT | 8.5 x 5.5 英寸。 |
| TABLOID | 11 x 17 英寸。 |
| length |
方法
A3
public static int A3
297 x 420 毫米。
A4
public static int A4
210 x 297 毫米。
A5
public static int A5
148 x 210 毫米。
B4
public static int B4
250 x 353 毫米。
B5
public static int B5
176 x 250 毫米。
CUSTOM
public static int CUSTOM
自定义纸张尺寸。
ENVELOPE_DL
public static int ENVELOPE_DL
110 x 220 毫米。
EXECUTIVE
public static int EXECUTIVE
7.25 x 10.5 英寸。
FOLIO
public static int FOLIO
8.5 x 13 英寸。
LEDGER
public static int LEDGER
17 x 11 英寸。
LEGAL
public static int LEGAL
8.5 x 14 英寸。
LETTER
public static int LETTER
8.5 x 11 英寸。
NUMBER_10_ENVELOPE
public static int NUMBER_10_ENVELOPE
4.125 x 9.5 英寸。
PAPER_10_X_14
public static int PAPER_10_X_14
10 x 14 英寸。
PAPER_11_X_17
public static int PAPER_11_X_17
11 x 17 英寸。
QUARTO
public static int QUARTO
8.47 x 10.83 英寸。
STATEMENT
public static int STATEMENT
8.5 x 5.5 英寸。
TABLOID
public static int TABLOID
11 x 17 英寸。
length
public static int length
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
退货: 布尔值
fromName(String paperSizeName)
public static int fromName(String paperSizeName)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| paperSizeName | java.lang.String |
退货: 整数
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getName(int paperSize)
public static String getName(int paperSize)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| paperSize | int |
退货: java.lang.字符串
getValues()
public static int[] getValues()
退货: 整数[]
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
退货: java.lang.字符串
toString(int paperSize)
public static String toString(int paperSize)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| paperSize | int |
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |