Deletes all the elements that describe a layer.
public void RemoveLayerByName(
string layerName,
bool annSequence
)
Public Sub RemoveLayerByName( _
ByVal layerName As String, _
ByVal annSequence As Boolean _
)
public:
void RemoveLayerByName(
String^ layerName,
bool annSequence
)
layerName
The name of the layer to be removed from the Graphic Layer Module.
annSequence
true to remove the items, under the "Graphic Annotation Sequence", that reference the layer; false to remove only the layer.
This method removes the item, which represents a layer under the "Graphic Layer Sequence"(0070,0060). If annSequence is set to true then the method will clean any elements under the "Graphic Annotation Sequence" which correspond to the layer being removed.
GetLayerGraphicObjectCount Method
RemoveLayerGraphicObjects Method
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document