Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Last active January 11, 2018 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/c0f61f6875402aedee62389ba7e863b3 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/c0f61f6875402aedee62389ba7e863b3 to your computer and use it in GitHub Desktop.
// 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