Returns or sets the annotation type. To use the property,the property MouseShape should be set to false.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
| C# |
|---|
public DWTAnnotationType AnnotationType { get; set; } |
| Visual Basic |
|---|
Public Property AnnotationType As DWTAnnotationType Get Set |
| Visual C++ |
|---|
public: property DWTAnnotationType AnnotationType { DWTAnnotationType get (); void set (DWTAnnotationType value); } |
Remarks
| Allowed Values | Annotation Types |
|---|---|
| enumNone(default) | Select an area |
| enumPointer(Pointer) | Select an existing annotation. Press "Ctrl" to multi-select annotations. |
| enumText(Text) | Create a text.The annotation type will be set back to 1 once the annotation is completed.. |
| enumLine(Line) | Create a line.The annotation type will be set back to 1 once the annotation is completed.. |
| enumRectangle(Rectangle) | Create a rectangle.The annotation type will be set back to 1 once the annotation is completed.. |
| enumEllipse(Ellipse) | Create a ellipse.The annotation type will be set back to 1 once the annotation is completed.. |
Exceptions
| Exception | Condition |
|---|---|
| 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. |