Method SetLinetype
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SetLinetype(CadDocument, string, string, string)
Overrides a layer's linetype in a viewport, as the VP Linetype column: one the drawing has.
public static CadEditResult SetLinetype(CadDocument document, string viewport, string layer, string linetype)
Parameters
documentCadDocumentThe document.
viewportstringThe handle of the viewport.
layerstringThe name of the layer.
linetypestringThe name of the linetype.
Returns
- CadEditResult
What came of it.
Exceptions
- ArgumentNullException
Thrown when the document is null.