Method Edit
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Edit(CadDocument, string, CadDataLinkSettings)
Changes a data link, as Modify Excel Link does: its file, cells and options written anew, one undo step. The tables it fills are not changed until the link is updated.
public static CadEditResult Edit(CadDocument document, string name, CadDataLinkSettings settings)
Parameters
documentCadDocumentThe document.
namestringThe name of the link.
settingsCadDataLinkSettingsThe settings; the name in them is the link's new name.
Returns
- CadEditResult
What came of it.
Exceptions
- ArgumentNullException
Thrown when the document, the name or the settings are null.