The DTWAIN_GetPaperSize, DTWAIN_SetPaperSize, and DTWAIN_EnumPaperSizes uses the following constants to define various page sizes (these constants are equivalent to the official TWAIN 1.8 constants):
Frame Size
|
Definition
|
DTWAIN_FS_NONE
|
0
|
DTWAIN_FS_A4LETTER
|
1
|
DTWAIN_FS_B5LETTER
|
2
|
DTWAIN_FS_USLETTER
|
3
|
DTWAIN_FS_USLEGAL
|
4
|
DTWAIN_FS_A5
|
5
|
DTWAIN_FS_B4
|
6
|
DTWAIN_FS_B6
|
7
|
DTWAIN_FS_USLEDGER
|
9
|
DTWAIN_FS_USEXECUTIVE
|
10
|
DTWAIN_FS_A3
|
11
|
DTWAIN_FS_B3
|
12
|
DTWAIN_FS_A6
|
13
|
DTWAIN_FS_C4
|
14
|
DTWAIN_FS_C5
|
15
|
DTWAIN_FS_C6
|
16
|
DTWAIN_FS_4A0
|
17
|
DTWAIN_FS_2A0
|
18
|
DTWAIN_FS_A0
|
19
|
DTWAIN_FS_A1
|
20
|
DTWAIN_FS_A2
|
21
|
DTWAIN_FS_A4
|
DTWAIN_FS_A4LETTER
|
DTWAIN_FS_A7
|
22
|
DTWAIN_FS_A8
|
23
|
DTWAIN_FS_A9
|
24
|
DTWAIN_FS_A10
|
25
|
DTWAIN_FS_ISOB0
|
26
|
DTWAIN_FS_ISOB1
|
27
|
DTWAIN_FS_ISOB2
|
28
|
DTWAIN_FS_ISOB3
|
DTWAIN_FS_B3
|
DTWAIN_FS_ISOB4
|
DTWAIN_FS_B4
|
DTWAIN_FS_ISOB5
|
29
|
DTWAIN_FS_ISOB6
|
DTWAIN_FS_B6
|
DTWAIN_FS_ISOB7
|
30
|
DTWAIN_FS_ISOB8
|
31
|
DTWAIN_FS_ISOB9
|
32
|
DTWAIN_FS_ISOB10
|
33
|
DTWAIN_FS_JISB0
|
34
|
DTWAIN_FS_JISB1
|
35
|
DTWAIN_FS_JISB2
|
36
|
DTWAIN_FS_JISB3
|
37
|
DTWAIN_FS_JISB4
|
38
|
DTWAI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