public void RemoveAllLayers(
Public Sub RemoveAllLayers( _
ByVal annSequence As Boolean _
true to remove the items, under the "Graphic Annotation Sequence", that reference the layers; false to remove only the layers.
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.
For an example, refer to CreateLayer.