CadOptionsRenderLayouts Property
Indicates whether layouts from CAD document should be rendered. Default value is false.

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

Property Value

Type: Boolean
This option applies only to CAD formats, that support layouts, like dxf and dwg. When render layouts is enabled, Model and all non-empty layouts contained in the CAD document will be rendered. Otherwise only Model is rendered.
The following example demonstrates how to render layouts from dwg drawing.
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.CadOptions.RenderLayouts = true;

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