Click or drag to resize

DeviceAutoDiscardBlankPages Property

Gets or sets a value indicating whether the driver will automatically discard blank pages.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public AutoDiscardMode AutoDiscardBlankPages { get; set; }

Property Value

Type: AutoDiscardMode
A value indicating whether blank pages will be discarded.
Remarks

In addition to the AutoDiscardMode options, a value from 0 to 2147483647 can be used to determine the byte size cutoff point to identify which images are to be discarded.

Use QueryCapability(DeviceCapability, Boolean) with the ICAP_AUTODISCARDBLANKPAGES capability to determine whether the driver supports this feature.

Examples
AutoDiscardBlankPages (C#)
// Set the blank page detection to discard anything less than 200 bytes.
this.device.AutoDiscardBlankPages = (AutoDiscardMode)200;
AutoDiscardBlankPagesVB (Visual Basic)
' Set the blank page detection to discard anything less than 200 bytes.
Me.device.AutoDiscardBlankPages = CType(200, AutoDiscardMode)
See Also