Updates an annotation on a specific image with the new annotation definition objNewAnnotation.

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

Syntax

C#
public bool UpdateAnnotation(
	short sImageIndex,
	AnnotationData objOldAnnotation,
	AnnotationData objNewAnnotation
)
Visual Basic
Public Function UpdateAnnotation ( _
	sImageIndex As Short, _
	objOldAnnotation As AnnotationData, _
	objNewAnnotation As AnnotationData _
) As Boolean
Visual C++
public:
bool UpdateAnnotation(
	short sImageIndex, 
	AnnotationData^ objOldAnnotation, 
	AnnotationData^ objNewAnnotation
)

Parameters

sImageIndex
Type: System..::..Int16
objOldAnnotation
Type: Dynamsoft.DotNet.TWAIN.Annotation..::..AnnotationData
objNewAnnotation
Type: Dynamsoft.DotNet.TWAIN.Annotation..::..AnnotationData

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