Skip to content

ACadSharp.Header.CadHeader.CurrentLayer

Albert Domenech edited this page Aug 28, 2025 · 2 revisions

CurrentLayer Property

Gets the current layer associated with the document. If the document is null, returns the default layer.

Remarks

This property retrieves the layer based on the current layer name from the document's layer collection, if a document is available. If no document is associated, it returns the default layer stored

Definition

Namespace: ACadSharp.Header.CadHeader

C#

public Layer CurrentLayer { get; private set; }

Property Value

Layer

Clone this wiki locally