Returns or sets whether to resize the image to fit the size of window when the view mode is set to -1 by -1.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool IfFitWindow { get; set; }
Visual Basic
Public Property IfFitWindow As Boolean
	Get
	Set

Remarks

The default value of the IfFitWindow property is true. When the value is False, the image will be displayed in its full size and scroll bars will be shown if necessary (the width or height of the image is bigger than the control size).

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also