Change the position of an annotation on a specific image to a new position according to DWTAnnotationChangePosition.

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

Syntax

C#
public bool ChangeAnnotationPosition(
	short sImageIndex,
	AnnotationData objAnnotation,
	DWTAnnotationChangePosition annotationChangePosition
)
Visual Basic
Public Function ChangeAnnotationPosition ( _
	sImageIndex As Short, _
	objAnnotation As AnnotationData, _
	annotationChangePosition As DWTAnnotationChangePosition _
) As Boolean
Visual C++
public:
bool ChangeAnnotationPosition(
	short sImageIndex, 
	AnnotationData^ objAnnotation, 
	DWTAnnotationChangePosition annotationChangePosition
)

Parameters

sImageIndex
Type: System..::..Int16
objAnnotation
Type: Dynamsoft.DotNet.TWAIN.Annotation..::..AnnotationData
annotationChangePosition
Type: Dynamsoft.DotNet.TWAIN.Enums..::..DWTAnnotationChangePosition

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