Last active
January 11, 2018 13:38
-
-
Save GroupDocsGists/c0f61f6875402aedee62389ba7e863b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET | |
// Setup GroupDocs.Viewer config | |
ViewerConfig config = Utilities.GetConfigurations(); | |
config.LocalesPath = @"D:\Locale"; | |
CultureInfo cultureInfo = new CultureInfo("fr-FR"); | |
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config, cultureInfo); | |
// File guid | |
string guid = DocumentName; | |
// Set html options to show grid lines | |
HtmlOptions options = new HtmlOptions(); | |
List<PageHtml> pages = htmlHandler.GetPages(guid, options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment