怎样声明esriGeometryPolygon、esriFTSimple、esriFieldTypeDouble这样的名称,该如何处理
怎样声明esriGeometryPolygon、esriFTSimple、esriFieldTypeDouble这样的名称VB.NET codepGeometryDef New
怎样声明esriGeometryPolygon、esriFTSimple、esriFieldTypeDouble这样的名称
VB.NET codepGeometryDef = New GeometryDef pGeometryDefEdit = pGeometryDef With pGeometryDefEdit .GeometryType = esriGeometryPolygon .SpatialReference = New UnknownCoordinateSystem End With
在这里面会提示 esriGeometryPolygon是未声明名称。
在查询后发现esriGeometryPolygon是IGeometry.GeometryType Property中的,为什么直接用说没有声明呢?
而且在程序中esriFieldTypeDouble是esriFieldType Constants中的常量吗?怎样来使用呢?不太理解啊……
上面这两个问题貌似是一个类型的哦?
esriFTSimple没有搜到相关的呢。。。
VB.NET codepFeatClass = pFeatureWorkspace.CreateFeatureClass(sFileName, pFields, Nothing, Nothing, esriFTSimple, sShapeFieldName, "")
感觉很混乱啊……哪位大神帮忙讲解一下~
[解决办法]去找这些类的命名空间,引用过来,或者dll引用过来,然后using其命名空间