C# AE 插入要素Feature
插入要素的一种方法
//try //{ // IFeature pFeat = null; // IFeatureBuffer pFeatBuf = pfc.CreateFeatureBuffer(); // pFeat = pFeatBuf as IFeature; // IFeatureCursor pFeatCur = pfc.Insert(true); // IPolyline pNewLine = pVerticalLine as IPolyline; // IGeometry pGeo = pNewLine as IGeometry;//pNewConstructEnrpytedLine // dataProcessingClass.MakeZMAware(pGeo); // pFeat.Shape = pGeo; // pFeatCur.InsertFeature(pFeatBuf); //} //catch (Exception ex2) { MessageBox.Show("插入加密线条Feature失败" + ex2.StackTrace); }