←Select platform

RemoveLayerByName Method

Summary

Deletes all the elements that describe a layer.

Syntax

C#
VB
WinRT C#
C++
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 
) 
 function Leadtools.Dicom.DicomDataSet.RemoveLayerByName(  
   layerName , 
   annSequence  
) 
public: 
void RemoveLayerByName(  
   String^ layerName, 
   bool annSequence 
)  

Parameters

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.

Remarks

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.

Example

For an example, refer to CreateLayer.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly