// Setup GroupDocs.Viewer config
ViewerConfig config = new ViewerConfig();
config.StoragePath = @"C:\storage";
// File guid
string guid = @"word.doc";
// Use custom IInputDataHandler implementation
IInputDataHandler inputDataHandler = new AzureInputDataHandler("<Account_Name>","<Account_Key>","<Container_Name>");
// Get file HTML representation
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config, inputDataHandler);
List<PageHtml> pages = htmlHandler.GetPages(guid);
foreach (PageHtml page in pages)
{
//Save each page at disk
Utilities.SaveAsHtml(page.PageNumber + "_" + DocumentName, page.HtmlContent);
}