Table of Contents

Method SaveAs

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SaveAs(CadDocument, string, string)

Saves a drawing to a file, which it is known by afterwards.

void SaveAs(CadDocument document, string path, string version)

Parameters

document CadDocument

The drawing.

path string

The full path.

version string

The version of the file, as AC1024, or null for the drawing's own.

Exceptions

InvalidOperationException

Thrown when it cannot be written; the message says why.