Table of Contents

Method Of

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Of(CadDocument, string)

Lists a drawing open in the presenter, as the Open Drawings tab does; it is read and never changed by listing.

public static CadDesignCenterDrawing Of(CadDocument document, string title)

Parameters

document CadDocument

The document.

title string

The name the tab shows; the file's name where null.

Returns

CadDesignCenterDrawing

The drawing.

Exceptions

ArgumentNullException

Thrown when the document is null.