DTWAIN_GetPaperSize |
Top Previous Next |
The DTWAIN_GetPaperSize function gets the current paper size.
DTWAIN_BOOL DTWAIN_GetPaperSize (
Parameters Source An open TWAIN Source.
lpPaperSize Address of a LONG variable that will store the current paper size.
bGetCurrent Determines whether to get the current paper size or default paper size.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_GetPaperSize function gets the current paper size for the Source Source. The lpPaperSize is the address of a LONG that will be filled in with the paper size on successful return. If bGetCurrent is TRUE, the paper size returned is the current paper size. If bGetCurrent is FALSE, the default paper size is returned. The value stored at the lpPaperSize address on return can be any one of the following Frame Size Constants.
TWAIN State Transitions The Source must be in State 4. or higher
Prerequisite Function Call(s) DTWAIN Source Selection Function
See Also |