Gets the view mode that images are displayed in Dynamic .NET TWAIN.

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

Syntax

C#
public bool GetViewMode(
	out short sHorizontalImageCount,
	out short sVerticalImageCount
)
Visual Basic
Public Function GetViewMode ( _
	<OutAttribute> ByRef sHorizontalImageCount As Short, _
	<OutAttribute> ByRef sVerticalImageCount As Short _
) As Boolean

Parameters

sHorizontalImageCount
Type: System..::..Int16%
the short number for the columns can be displayed in Dynamic .NET TWAIN.
sVerticalImageCount
Type: System..::..Int16%
the short number for the rows can be displayed in Dynamic .NET TWAIN.

Remarks

If the view mode is set to -1*-1, the returned value of sHorizontalImageCount is -1, and so is sVerticalImageCount.

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