Click or drag to resize

ScannerIsPaperSizeSupported Method

This method returns True if the scanner supports the given paper size.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public bool IsPaperSizeSupported(
	RSDPP PaperSize,
	bool Portrait,
	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