Constructor CadRefEditRequest
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadRefEditRequest(CadDocument, IReadOnlyList<CadRefEditLevel>)
Makes the request of a document: the settings are those the document holds, the first reference chosen, every object taken.
public CadRefEditRequest(CadDocument document, IReadOnlyList<CadRefEditLevel> levels)
Parameters
documentCadDocumentThe document.
levelsIReadOnlyList<CadRefEditLevel>The references the dialog lists, the outermost first, as FindRefEditLevels(string, GeoPoint2?, double) gives them.
Exceptions
- ArgumentNullException
Thrown when the document or the levels are null.
- ArgumentException
Thrown when there is no level.