Thanks for your response.
Yes, you can use multiple configuration objects to initialize multiple ViewerHandlers with separate storage locations at the same time. In each object of ViewerConfig class you can set a different storage path. Following is a sample code snippet that may help you.
ViewerConfig config1 = new ViewerConfig();
config.StoragePath = “d://storage1”;
config.CachePath = “d://storage1//cache//”;
ViewerConfig config2 = new ViewerConfig();
config.StoragePath = “d://storage2”;
config.CachePath = “d://storage2//cache//”;
ViewerHandler HtmlHandler = new ViewerHtmlHandler(config1);
ViewerHandler ImageHandler = new ViewerImageHandler(config2);
In above example, the HtmlHandler is using “d://storage1” storage location while ImageHandler is using “d://storage2” as storage directory. In case of any confusion, please feel free to let us know.