Render hidden pages

Learn how to render hidden pages on website or in other c# applications.Hidden pages are not rendered by default. In order to include them into the rendering GroupDocs.Viewer provides ``RenderHiddenPagesproperty of theViewOptions` class.

This feature is supported for:

  • Diagrams with hidden pages.
  • Presentations with hidden slides.
  • Spreadsheets with hidden worksheets.

The following code sample shows how enable rendering of hidden pages.

using (Viewer viewer = new Viewer("sample.pptx"))
    HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
    viewOptions.RenderHiddenPages = true;