_银子

提供更专注、更专心、更专业的服务
  首页  :: 联系 :: 订阅 订阅  :: 管理

2012年2月29日

摘要: { IFeatureCursor pFeatureCursor = _featureClass.Insert(true); IFeatureBuffer pFeatureBuffer = _featureClass.CreateFeatureBuffer(); object missing = Type.Missing; IPointCollection points = new RingClass(); IPoint pt1 = new PointClass(); pt1.X = 0; pt1.Y = 0; points.AddPoint(pt1, ref missing, ref... 阅读全文

posted @ 2012-02-29 12:50 _银子 阅读(178) 评论(0) 推荐(0) 编辑

摘要: 最近利用ImemoryBlobStream做二进制流文件的读入写出,这个接口用起来很简单,还是直接贴代码直观。public static bool FileToBlob(IFeature pFeature,string FileName) { try { IMemoryBlobStream pMemoryBlobStream = new MemoryBlobStreamClass(); pMemoryBlobStream.LoadFromFile(FileName); int Index = pFeature.Fields.FindField("BlobFile"); pF 阅读全文

posted @ 2012-02-29 12:48 _银子 阅读(1276) 评论(0) 推荐(0) 编辑