Returns or sets the shape of the mouse.

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

Syntax

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

Remarks

When the value of the property is set to true, the cursor is set as a hand. If the width or height of the image is bigger than the control size, scroll bars will be shown and you can drag the image to adjust the position in the control. When the value of the property is set to false, the cursor is set as an arrow. You can select an area in Dynamic .NET TWAIN directly and the OnImageAreaSelected event will be fired.

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