ScannerIsPaperSizeSupported Method
|
This method returns True if the scanner supports the given paper size.
Namespace:
Kofax.OmniPageCSDK.IproPlusAssembly:
Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntaxpublic bool IsPaperSizeSupported(
RSDPP PaperSize,
bool Portrait,
RSDPS PaperSource
)
Public Function IsPaperSizeSupported (
PaperSize As RSDPP,
Portrait As Boolean,
PaperSource As RSDPS
) As Boolean
public:
bool IsPaperSizeSupported(
[InAttribute] RSDPP PaperSize,
[InAttribute] bool Portrait,
[InAttribute] RSDPS PaperSource
)
Parameters
- PaperSize
- Type: Kofax.OmniPageCSDK.IproPlusRSDPP
- Portrait
- Type: SystemBoolean
- PaperSource
- Type: Kofax.OmniPageCSDK.IproPlusRSDPS
Return Value
Type:
Boolean
Remarks
If the returned value is False, the scanner might still scan the particular paper size, but misalignments might occur.
The PaperSize parameter identifies the queried paper size, which can be one of the values detailed at the Scanners
collection's GetPaperSize method documentation.
Pass True in the Portrait parameter to indicate the portrait capability is requested for the given paper size. Pass False to initiate a landscape query.
The PaperSource parameter can be one of the supported scanner paper sources. Use the AvailablePaperSources property
to gather information about the supported paper sources.
See Also