Deleting lines in the view

Hi,
I am trying to delete the lines [sketch] from the drawing view. asof now i coud get the line details present in the view. But notable to get the name or not able to select the lines.

i have used the following code
SolidWorks.Interop.sldworks.View _view;

_view = (SolidWorks.Interop.sldworks.View)dwgDoc.GetFirstView();
do{

object lines =_view.GetLines4((short)swCrossHatchFilter_e.swCrossHatchExclude);
double lID = ((double[])(lines))[4]; // get layer ID
Layer l1 = (Layer)lMgr.GetLayerById((short)lID); get layer
MessageBox.Show(l1.Name); //display layer name

_view = (SolidWorks.Interop.sldworks.View )_view.GetNextView();
}while(_view!=null);

as told i coul'd get only the details of lines present in theviews.
I want to delete the lines in the view.

can any one know the solution.

thanks in advance
ravi bSolidworksApi macros