// 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;
//Set default font name
config.DefaultFontName = "Calibri";
return config;