VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.AspNetCore.ApiControllers Namespace / VintasoftAnnotationCollectionApiController Class / CreateImageTilesCacheManager(String) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    CreateImageTilesCacheManager(String) Method (VintasoftAnnotationCollectionApiController)
    In This Topic
    Creates a cache manager that manages cache of image tiles.
    Syntax
    'Declaration
    
    Protected Overridable Function CreateImageTilesCacheManager( _
    ByVal sessionId
    The session identifier.
    As String _
    ) As Vintasoft.Imaging.Web.Services.ImageTilesCacheManager
    protected virtual Vintasoft.Imaging.Web.Services.ImageTilesCacheManager CreateImageTilesCacheManager(
    string sessionId
    )
    protected: virtual Vintasoft.Imaging.Web.Services.ImageTilesCacheManager* CreateImageTilesCacheManager(
    string* sessionId
    )
    protected:
    virtual Vintasoft.Imaging.Web.Services.ImageTilesCacheManager^ CreateImageTilesCacheManager(
    string^ sessionId
    )

    Parameters

    sessionId
    The session identifier.

    Return Value

    A cache manager that manages cache of image tiles.
    Exceptions
    ExceptionDescription
    Thrown if IsEmptySessionSupported = true and sessionId is null.
    Thrown if the physical path to the root of the application is not defined, i.e. service is used in not ASP.NET application.
    Remarks

    By default method creates the ImageTilesCacheManager that works with directory "{Project_Path}/VintasoftCache[/{SessionID}]/Tiles".

    If you want to create the ImageTilesCacheManager that works with custom directory, set value of DataDirectoryDefaultPath property and method will create ImageTilesCacheManager that works with directory "{WebServicesGlobalSettings.DataDirectoryDefaultPath}/VintasoftCache[/{SessionID}]/Tiles".

    Requirements

    Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7, .NET 6

    See Also