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
documentCadDocumentThe drawing.
pathstringThe full path.
versionstringThe 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.