Method Load
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Load(string, bool)
Loads the sheets and the options of a sheet list file (.dsd), as Load List does. A sheet whose drawing is not there, or has no such layout or page setup, stays in the list with that as its status. Paths of a relative kind are taken from the folder of the list. A list that names DWF or DWFx is set to PDF, which says so in the notes.
public IReadOnlyList<string> Load(string path, bool append)
Parameters
pathstringThe list's file.
appendboolTrue to add the sheets after those listed; false to replace them.
Returns
- IReadOnlyList<string>
What was not as the file asked, a line each; empty where all was.
Exceptions
- ArgumentNullException
Thrown when the path is null.
- IOException
Thrown when the file cannot be read.
- FormatException
Thrown when the file is no sheet list.