Visual Basic (Declaration) | |
---|---|
Public Sub RemoveLayerByIndex( _ ByVal layerIndex As Integer, _ ByVal annSequence As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void RemoveLayerByIndex( int layerIndex, bool annSequence ) |
Managed Extensions for C++ | |
---|---|
public: void RemoveLayerByIndex( int layerIndex, bool annSequence ) |
C++/CLI | |
---|---|
public: void RemoveLayerByIndex( int layerIndex, bool annSequence ) |
Parameters
- 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.
For an example, refer to CreateLayer.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
DicomDataSet ClassDicomDataSet 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