Table of Contents

Method LayoutViewports

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

LayoutViewports(CadDocument)

Gets the viewports of every layout, the sheets' own left out, in the order of the layout tabs and of each layout's block: those "in all viewports" acts on.

public static IReadOnlyList<DxfViewport> LayoutViewports(CadDocument document)

Parameters

document CadDocument

The document.

Returns

IReadOnlyList<DxfViewport>

The viewports, a new list.

Exceptions

ArgumentNullException

Thrown when the document is null.