LEADTOOLS Medical (Leadtools.Dicom assembly)

RemoveAllLayers Method

Show in webframe







true to remove the items, under the "Graphic Annotation Sequence", that reference the layers; false to remove only the layers.
Removes all layers under the "Graphic Layer Module".
Syntax
public void RemoveAllLayers( 
   bool annSequence
)
'Declaration
 
Public Sub RemoveAllLayers( _
   ByVal annSequence As Boolean _
) 
'Usage
 
Dim instance As DicomDataSet
Dim annSequence As Boolean
 
instance.RemoveAllLayers(annSequence)
public void RemoveAllLayers( 
   bool annSequence
)

            

            
 function Leadtools.Dicom.DicomDataSet.RemoveAllLayers( 
   annSequence 
)
public:
void RemoveAllLayers( 
   bool annSequence
) 

Parameters

annSequence
true to remove the items, under the "Graphic Annotation Sequence", that reference the layers; false to remove only the layers.
Remarks
This method removes all items 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 are related to the removed layers.

Example
For an example, refer to CreateLayer.
Requirements

Target Platforms

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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