GroupDocsGists
10/19/2017 - 11:20 AM

GetConfiguration.cs

// 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 static AnnotationConfig GetConfiguration()
{
    try
    {
        AnnotationConfig cfg = new AnnotationConfig();

        //Set storage path 
        cfg.StoragePath = StorageFolderPath;

        return cfg;
    }
    catch (System.Exception exp)
    {
        Console.WriteLine(exp.Message);
        return null;
    }
}