PageSize

Description

Returns or sets the page size the Source uses to acquire image data.

Data type

EnumDWT_CapSupportedSizes (short)

Syntax

.PageSize = ...;

Remarks

Allowed Values Numeric Values Page size
EnumDWT_CapSupportedSizes.TWSS_NONE 0 None
EnumDWT_CapSupportedSizes.TWSS_A4 1 A4LETTER, A4
EnumDWT_CapSupportedSizes.TWSS_B5 2 B5LETTER, JISB5
EnumDWT_CapSupportedSizes.TWSS_USLETTER 3 USLETTER
EnumDWT_CapSupportedSizes.TWSS_USLEGAL 4 USLEGAL
EnumDWT_CapSupportedSizes.TWSS_A5 5 A5
EnumDWT_CapSupportedSizes.TWSS_ISOB4 6 B4, ISOB4
EnumDWT_CapSupportedSizes.TWSS_ISOB6 7 B6, ISOB6
EnumDWT_CapSupportedSizes.TWSS_USLEDGER 9 USLEDGER
EnumDWT_CapSupportedSizes.TWSS_USEXECUTIVE 10 USEXECUTIVE
EnumDWT_CapSupportedSizes.TWSS_A3 11 A3
EnumDWT_CapSupportedSizes.TWSS_ISOB3 12 B3, ISOB3
EnumDWT_CapSupportedSizes.TWSS_A6 13 A6
EnumDWT_CapSupportedSizes.TWSS_C4 14 C4
EnumDWT_CapSupportedSizes.TWSS_C5 15 C5
EnumDWT_CapSupportedSizes.TWSS_C6 16 C6
EnumDWT_CapSupportedSizes.TWSS_4A0 17 4A0
EnumDWT_CapSupportedSizes.TWSS_2A0 18 2A0
EnumDWT_CapSupportedSizes.TWSS_A0 19 A0
EnumDWT_CapSupportedSizes.TWSS_A1 20 A1
EnumDWT_CapSupportedSizes.TWSS_A2 21 A2
EnumDWT_CapSupportedSizes.TWSS_A7 22 A7
EnumDWT_CapSupportedSizes.TWSS_A8 23 A8
EnumDWT_CapSupportedSizes.TWSS_A9 24 A9
EnumDWT_CapSupportedSizes.TWSS_A10 25 A10
EnumDWT_CapSupportedSizes.TWSS_ISOB0 26 ISOB0
EnumDWT_CapSupportedSizes.TWSS_ISOB1 27 ISOB1
EnumDWT_CapSupportedSizes.TWSS_ISOB2 28 ISOB2
EnumDWT_CapSupportedSizes.TWSS_ISOB5 29 ISOB5
EnumDWT_CapSupportedSizes.TWSS_ISOB7 30 ISOB7
EnumDWT_CapSupportedSizes.TWSS_ISOB8 31 ISOB8
EnumDWT_CapSupportedSizes.TWSS_ISOB9 32 ISOB9
EnumDWT_CapSupportedSizes.TWSS_ISOB10 33 ISOB10
EnumDWT_CapSupportedSizes.TWSS_JISB0 34 JISB0
EnumDWT_CapSupportedSizes.TWSS_JISB1 35 JISB1
EnumDWT_CapSupportedSizes.TWSS_JISB2 36 JISB2
EnumDWT_CapSupportedSizes.TWSS_JISB3 37 JISB3
EnumDWT_CapSupportedSizes.TWSS_JISB4 38 JISB4
EnumDWT_CapSupportedSizes.TWSS_JISB6 39 JISB6
EnumDWT_CapSupportedSizes.TWSS_JISB7 40 JISB7
EnumDWT_CapSupportedSizes.TWSS_JISB8 41 JISB8
EnumDWT_CapSupportedSizes.TWSS_JISB9 42 JISB9
EnumDWT_CapSupportedSizes.TWSS_JISB10 43 JISB10
EnumDWT_CapSupportedSizes.TWSS_C0 44 C0
EnumDWT_CapSupportedSizes.TWSS_C1 45 C1
EnumDWT_CapSupportedSizes.TWSS_C2 46 C2
EnumDWT_CapSupportedSizes.TWSS_C3 47 C3
EnumDWT_CapSupportedSizes.TWSS_C7 48 C7
EnumDWT_CapSupportedSizes.TWSS_C8 49 C8
EnumDWT_CapSupportedSizes.TWSS_C9 50 C9
EnumDWT_CapSupportedSizes.TWSS_C10 51 C10
EnumDWT_CapSupportedSizes.TWSS_USEXECUTIVE 52 USEXECUTIVE
EnumDWT_CapSupportedSizes.TWSS_BUSINESSCARD 53 BUSINESSCARD

Currently this property is only valid in Windows & Mac.

Set this property after OpenSource() and before AcquireImage().

The Data Source (scanner) might not support a certain pagesize, check its user manual for more information.

When an error occurs, check ErrorCode or ErrorString for error information.

See also

OpenSource()

Is this page helpful?

Leave a Reply

Your email address will not be published.