GroupDocsGists
10/19/2017 - 11:20 AM

GetConfiguration.vb

' For complete examples and data files, please go to https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-.NET
''' <summary>
''' Sets annotation configuration
''' </summary>
''' <returns>Returns AnnotationConfig object</returns>
Public Shared Function GetConfiguration() As AnnotationConfig
    Try
        Dim cfg As New AnnotationConfig()

        'Set storage path 
        cfg.StoragePath = StorageFolderPath

        Return cfg
    Catch exp As System.Exception
        Console.WriteLine(exp.Message)
        Return Nothing
    End Try
End Function