Deletes the annotations on a specific image which are listed in the parameter aryAnnotation.

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

Syntax

C#
public bool DeleteAnnotations(
	short sImageIndex,
	List<AnnotationData> aryAnnotation
)
Visual Basic
Public Function DeleteAnnotations ( _
	sImageIndex As Short, _
	aryAnnotation As List(Of AnnotationData) _
) As Boolean
Visual C++
public:
bool DeleteAnnotations(
	short sImageIndex, 
	List<AnnotationData^>^ aryAnnotation
)

Parameters

sImageIndex
Type: System..::..Int16
aryAnnotation
Type: System.Collections.Generic..::..List<(Of <(<'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