GroupDocsGists
10/19/2017 - 11:13 AM

ViewerConfigurations.cs

// For complete examples and data files, please go to https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET
ViewerConfig config = new ViewerConfig();
//set the storage path
config.StoragePath = StoragePath;
//Uncomment the below line for cache purpose
config.UseCache = true;
config.CacheFolderName = "cachefolder";
return config;