LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RemoveAllLayers Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : RemoveAllLayers Method



annSequence
true to remove the items, under the "Graphic Annotation Sequence", that reference the layers; false to remove only the layers.
annSequence
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". Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Sub RemoveAllLayers( _
   ByVal annSequence As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim annSequence As Boolean
 
instance.RemoveAllLayers(annSequence)
C# 
public void RemoveAllLayers( 
   bool annSequence
)
C++/CLI 
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.

Example

For an example, refer to DicomDataSet.CreateLayer.

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.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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