Deletes all the elements that describe a layer.
public void RemoveLayerByIndex(
int layerIndex,
bool annSequence
)
Public Sub RemoveLayerByIndex( _
ByVal layerIndex As Integer, _
ByVal annSequence As Boolean _
)
public void RemoveLayerByIndex(
int layerIndex,
bool annSequence
)
function Leadtools.Dicom.DicomDataSet.RemoveLayerByIndex(
layerIndex ,
annSequence
)
public:
void RemoveLayerByIndex(
int layerIndex,
bool annSequence
)
layerIndex
The zero-based index of the layer to remove.
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.
For an example, refer to CreateLayer.
GetLayerGraphicObjectCount Method
RemoveLayerGraphicObjects Method
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET