Creates an annotation on a specific image according to the annotation definition objAnnotation.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
| C# |
|---|
public bool CreateAnnotation(
short sImageIndex,
AnnotationData objAnnotation
) |
| Visual Basic |
|---|
Public Function CreateAnnotation ( _
sImageIndex As Short, _
objAnnotation As AnnotationData _
) As Boolean |
| Visual C++ |
|---|
public:
bool CreateAnnotation(
short sImageIndex,
AnnotationData^ objAnnotation
) |
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.
|
See Also