Share via


CheckScanner.CapAutoSize Property

2/27/2008

Gets the Boolean value that indicates whether the size of the scanned document can be set automatically.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property CapAutoSize As Boolean
public abstract bool CapAutoSize { get; }
public:
virtual property bool CapAutoSize {
    bool get () abstract;
}
/** @property */
public abstract boolean get_CapAutoSize ()
public abstract function get CapAutoSize () : boolean

Remarks

If set to true, the height and width of the scanned document will be automatically placed in the DocumentHeight and DocumentWidth properties when the image is captured.

If CapAutoSize is set to false, the application can set the DocumentHeight and DocumentWidth properties before scanning an image.

CapAutoSize is typically initialized to true. The service object should then set CapAutoSize to false if it wants the application to manage the setting of DocumentWidth and DocumentHeight.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CheckScanner Class
CheckScanner Members
Microsoft.PointOfService Namespace
DocumentHeight
DocumentWidth