LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

RemoveLayerByName Method








The name of the layer to be removed from the Graphic Layer Module.
true to remove the items, under the "Graphic Annotation Sequence", that reference the layer; false to remove only the layer.
Deletes all the elements that describe a layer. .NET support WinRT support Silverlight support
Syntax
public void RemoveLayerByName( 
   string layerName,
   bool annSequence
)
'Declaration
 
Public Sub RemoveLayerByName( _
   ByVal layerName As String, _
   ByVal annSequence As Boolean _
) 
'Usage
 
Dim instance As DicomDataSet
Dim layerName As String
Dim annSequence As Boolean
 
instance.RemoveLayerByName(layerName, annSequence)
public void RemoveLayerByName( 
   string layerName,
   bool annSequence
)
ObjectiveC Syntax
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
CreateLayer Method
GetLayerInformation Method
SetLayerInformation Method
RemoveLayerByIndex Method
RemoveAllLayers Method
LayerCount Property
GetLayerIndex Method
GetLayerGraphicObjectCount Method
RemoveLayerGraphicObjects Method
GetLayerTextObjectCount Method
RemoveLayerTextObjects Method
GetLayerElementByIndex Method
GetLayerElementByName Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features