VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation.Web.Services Namespace / VintasoftAnnotationCollectionWebService Class / GetAnnotationCollection Method
Image info.
Identifier of HTTP session.



In This Topic
    GetAnnotationCollection Method
    In This Topic
    Returns annotation collection, of specified image, as a JSON string.
    Syntax
    'Declaration
     
    Protected Overridable Function GetAnnotationCollection( _
       ByVal imageInfo As WebImageInfo, _
       ByVal sessionID As String _
    ) As String
    protected virtual string GetAnnotationCollection( 
       WebImageInfo imageInfo,
       string sessionID
    )
    protected: virtual string* GetAnnotationCollection( 
       WebImageInfo* imageInfo,
       string* sessionID
    ) 
    protected:
    virtual String^ GetAnnotationCollection( 
       WebImageInfo^ imageInfo,
       String^ sessionID
    ) 

    Parameters

    imageInfo
    Image info.
    sessionID
    Identifier of HTTP session.

    Return Value

    Annotation collection, as JSON string, of specified image.
    Remarks
    First, method gets annotations from cache if AnnotationsCacheManager is defined. If AnnotationsCacheManager is null OR cached annotations are not found, method gets annotation from the source image.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also