IfFitWindow

Description

Returns or sets whether to resize the image to fit both the width and height of the Dynamic Web TWAIN viewer. To use the property, the view mode should be set to -1 by -1.

Data type

bool

Default value

true

Syntax

.IfFitWindow = false;

Remarks

Before change the value of IfFitWindow, make sure you have set the view mode to -1 by -1 using SetViewMode.

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 appear if necessary (the width or height of the image is bigger than the viewer size).

When an error occurs, check ErrorCode or ErrorString for error information.

See also

SetViewMode()
FitWindowType