VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.Web.Services Namespace / VintasoftAnnotationCollectionWebService Class / SaveAnnotationCollectionToDataStorage(String,String,String,WebDocumentLayoutSettings,Dictionary<Int32,String>) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SaveAnnotationCollectionToDataStorage(String,String,String,WebDocumentLayoutSettings,Dictionary<Int32,String>) Method (VintasoftAnnotationCollectionWebService)
In This Topic
Saves annotation collections for images to the image file.
Syntax
'Declaration

Protected Overridable Function SaveAnnotationCollectionToDataStorage( _
ByVal sessionId
An HTTP session identifier.
As String, _
ByVal fileId
A file identifier.
As String, _
ByVal filePassword
A file password.
As String, _
ByVal documentLayoutSettings
Document layout settings.
As Vintasoft.Shared.Web.WebDocumentLayoutSettings, _
ByVal imageIndexToJsonAnnotationCollections
Dictionary: image index in file => annotation collection as JSON-string.
As System.Collections.Generic.Dictionary(Of Integer,String) _
) As System.Collections.Generic.Dictionary(Of Integer,Exception)

Parameters

sessionId
An HTTP session identifier.
fileId
A file identifier.
filePassword
A file password.
documentLayoutSettings
Document layout settings.
imageIndexToJsonAnnotationCollections
Dictionary: image index in file => annotation collection as JSON-string.

Return Value

Dictionary: image index in file => exception that occurs during saving annotation collection to the file.
Exceptions
ExceptionDescription
Throw if fileId or imageIndexToJsonAnnotationCollections is null.
Thrown if file encoder is not found or it can not save annotations to a file.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

See Also