HtmlOptionsEnableResponsiveRendering Property
Indicates whether rendering will provide responsive web pages, that look well on different device types. Default value is false.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.5
Syntax
public bool EnableResponsiveRendering { get; set; }

Property Value

Type: Boolean
Examples
The following example demonstrates how to enable responsive rendering.
C#
ViewerConfig config = new ViewerConfig();
config.EnableCaching = true;
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config);

string guid = @"C:\storage\document.doc";
HtmlOptions options = new HtmlOptions();
options.EnableResponsiveRendering = true;

List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also