> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ScanSourceSettings Object (IScanSourceSettings Interface)

<Note>
  This object is implemented in FRE for Windows.
</Note>

This object provides access to the scanning settings of a source.

<Note>
  By default, the scanning area rectangle is not set (all the properties PaperBottom , PaperLeft , PaperRight , PaperTop are set to 0). In this case, the scanning area will be selected by the scanner, which will generally mean the whole available scanning area.
</Note>

## Properties

<table><thead><tr><th><p><strong>Name</strong></p></th><th><p><strong>Type</strong></p></th><th><p><strong>Description</strong></p></th></tr></thead><tbody><tr><td><p><strong>Application</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/engine-object-iengine-interface">Engine</a></strong>, <a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">read-only</a></p></td><td><p>Returns the <strong>Engine</strong> object.</p></td></tr><tr><td colspan="3"><p><a name="group_1" /><em>Main settings</em></p></td></tr><tr><td><p><a name="colormode" /><strong>ColorMode</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/scancolormodeenum">ScanColorModeEnum</a></strong></p></td><td><p>Sets image type (black-and-white, gray, color).</p><p>The default value of this property depends on the scanner.</p></td></tr><tr><td><p><a name="compressiontype" /><strong>CompressionType</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/scancompressiontypeenum">ScanCompressionTypeEnum</a></strong></p></td><td><p>Specifies the type of compression to be used for the scanned images. Please note that the possible type of compression depends on the image's colority.</p><p>The default value of this property depends on the scanner.</p></td></tr><tr><td><p><a name="brightness" /><strong>Brightness</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>Specifies the brightness of the scanned image (0-100). It is only valid when the <strong>BrightnessControl</strong> property is set to SBC\_Manual.</p><p>The default value of this property depends on the scanner.</p></td></tr><tr><td><p><a name="brightnesscontrol" /><strong>BrightnessControl</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/scanbrightnesscontrolenum">ScanBrightnessControlEnum</a></strong></p></td><td><p>Sets brightness control mode.</p><p>The default value of this property depends on the scanner.</p></td></tr><tr><td><p><a name="resolution" /><strong>Resolution</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>Specifies image resolution. This property can be any number in the range from 100 to 1200, but for best recognition results we recommend that you set image resolution to a number divisible by 100 in the range from 200 to 600.</p><p>The default value of this property depends on the scanner.</p></td></tr><tr><td><p><a name="rotationangle" /><strong>RotationAngle</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/scanrotationangleenum">ScanRotationAngleEnum</a></strong></p></td><td><p>Sets image rotation angle (once the image has been scanned).</p><p>The default value of this property depends on the scanner.</p></td></tr><tr><td colspan="3"><p><a name="group_2" /><em>Paper size</em></p></td></tr><tr><td><p><a name="papersize" /><strong>PaperSize</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/scanpapersizeenum">ScanPaperSizeEnum</a></strong></p></td><td><p>Sets paper size.</p><p>The default value of this property depends on the scanner.</p></td></tr><tr><td><p><strong>PaperBottom</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>Sets the coordinate of the bottom border of the scanning area rectangle (in milli-inch). It is only valid if <strong>PaperSize</strong> = SPS\_Custom.</p><p>By default, this property is set to 0.</p></td></tr><tr><td><p><strong>PaperLeft</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>Sets the coordinate of the left border of the scanning area rectangle (in milli-inch). It is only valid if <strong>PaperSize</strong> = SPS\_Custom.</p><p>By default, this property is set to 0.</p></td></tr><tr><td><p><strong>PaperRight</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>Sets the coordinate of the right border of the scanning area rectangle (in milli-inch). It is only valid if <strong>PaperSize</strong> = SPS\_Custom.</p><p>By default, this property is set to 0.</p></td></tr><tr><td><p><strong>PaperTop</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>Sets the coordinate of the top border of the scanning area rectangle (in milli-inch). It is only valid if <strong>PaperSize</strong> = SPS\_Custom.</p><p>By default, this property is set to 0.</p></td></tr><tr><td colspan="3"><p><a name="group_3" /><em>Additional settings</em></p></td></tr><tr><td><p><a name="multipleimagesenabled" /><strong>MultipleImagesEnabled</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Specifies whether multi-page scanning is enabled.</p><p>By default, this property is set to FALSE.</p><Note>If scanning options are set in FineReader Engine dialog box to use the automatic feeder, the value of this property is ignored and multi-page scanning is enabled. This is because automatic feeder is supposed to be used for multi-page scanning.</Note></td></tr><tr><td><p><a name="pausebetweenpagesmode" /><strong>PauseBetweenPagesMode</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/scanpausemodeenum">ScanPauseModeEnum</a></strong></p></td><td><p>Sets the required delay between scanned pages (no pause, delay for specified number of seconds, prompt for next page).</p><p>By default, this property is equal to SPM\_None.</p></td></tr><tr><td><p><strong>Delay</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>Sets the pause between pages in sec. It is only valid if <strong>PauseBetweenPagesMode</strong> = SPM\_PresetDelay.</p><Note>Some scanners with automatic document feeder may ignore the value of this property.</Note><p>By default, this property is 0.</p></td></tr><tr><td><p><a name="paperfeedmode" /><strong>PaperFeedMode</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/scanpaperfeedmodeenum">ScanPaperFeedModeEnum</a></strong></p></td><td><p>Specifies whether an automatic document feeder must be used.</p><p>The default value of this property depends on the scanner: if the scanner has a flatbed, it is equal to SPFM\_Flatbed. If not, it is SPFM\_AutoFeeder.</p></td></tr><tr><td><p><strong>DuplexMode</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Specifies whether duplex scanning must be used.</p><Note>If DuplexMode is set to TRUE you must also set MultipleImagesEnabled to TRUE.</Note><p>By default, this property is set to FALSE.</p></td></tr><tr><td><p><a name="correctskew" /><strong>CorrectSkew</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Setting this property to TRUE enables automatic skew correction, if this feature is supported by the scan source (see <a href="/fine-reader/engine/api-reference/mechanism-objects/scansourcecapabilities#correctskewsupported">ScanSourceCapabilities::CorrectSkewSupported</a>).</p><p>By default, this property is set to FALSE.</p></td></tr><tr><td><p><a name="discardblankpages" /><strong>DiscardBlankPages</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>Setting this property to TRUE enables automatic removal of blank pages, if this feature is supported by the scan source (see <a href="/fine-reader/engine/api-reference/mechanism-objects/scansourcecapabilities#discardblankpagessupported">ScanSourceCapabilities::DiscardBlankPagesSupported</a>).</p><p>By default, this property is set to FALSE.</p></td></tr></tbody></table>

## Related objects

<img src="https://mintcdn.com/abbyy/i-EfCQVmseNiPQcp/images/fine-reader/engine/scansourcesettings.gif?s=5451463119f75fc6633e7106297e25c6" alt="ScanSourceSettings" width="190" height="58" data-path="images/fine-reader/engine/scansourcesettings.gif" />[](/fine-reader/engine/api-reference/mechanism-objects/scansource#scansettings)[](/fine-reader/engine/api-reference/mechanism-objects/scansource)

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## Samples

This object is used in the [Scanning](/fine-reader/engine/guided-tour/samples#scanning) code sample.

## See also

[ScanManager](/fine-reader/engine/api-reference/mechanism-objects/scanmanager)

[Scanning](/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/scanning)

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
