Render with responsive layout

GroupDocs.Viewer also enables you to make your rendering into HTML look well across all types of devices. To achieve this, the API provides RenderResponsive property of HtmlViewOptions class as shown in below sample code.

using (Viewer viewer = new Viewer("sample.docx"))
{
    HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
    viewOptions.RenderResponsive = true;
    viewer.View(viewOptions);
}