Leadtools.Dicom Namespace > DicomDataSet Class : RemoveLayerByIndex Method |
public void RemoveLayerByIndex( int layerIndex, bool annSequence )
'Declaration Public Sub RemoveLayerByIndex( _ ByVal layerIndex As Integer, _ ByVal annSequence As Boolean _ )
'Usage Dim instance As DicomDataSet Dim layerIndex As Integer Dim annSequence As Boolean instance.RemoveLayerByIndex(layerIndex, annSequence)
public void RemoveLayerByIndex( int layerIndex, bool annSequence )
function Leadtools.Dicom.DicomDataSet.RemoveLayerByIndex( layerIndex , annSequence )
public: void RemoveLayerByIndex( int layerIndex, bool annSequence )
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.
DicomDataSet Class
DicomDataSet Members
CreateLayer Method
GetLayerInformation Method
SetLayerInformation Method
RemoveLayerByName Method
RemoveAllLayers Method
LayerCount Property
GetLayerIndex Method
GetLayerGraphicObjectCount Method
RemoveLayerGraphicObjects Method
GetLayerTextObjectCount Method
RemoveLayerTextObjects Method
GetLayerElementByIndex Method
GetLayerElementByName Method