DTWAIN_IsPaperSizeSupported
The DTWAIN_IsPaperSizeSupported function checks if a Source supports setting the paper size of an acquired image.
DTWAIN_BOOL DTWAIN_IsPaperSizeSupported (
Parameters Source Specifies an open TWAIN Source.
PaperSize Specifies paper size to test, or DTWAIN_ANYSUPPORT
Return Values If setting the page paper size is supported for the Source, TRUE is returned. Otherwise FALSE is returned.
Comments The DTWAIN_IsPaperSizeSupported function takes the open Source Source, and checks to see if the paper size setting PaperSize is supported. The PaperSize value can be any one of the Frame Size Constants
If PaperSize is DTWAIN_ANYSUPPORT, DTWAIN_IsPaperSizeSupported returns whether the Source supports any paper sizes.
TWAIN State Transitions The source must be opened in State 4
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also DTWAIN_GetPaperSize, DTWAIN_EnumPaperSizes, DTWAIN_SetPaperSize |