コード例 #1
0
        void IFeatureRenderer.PrepareFilter(ESRI.ArcGIS.Geodatabase.IFeatureClass fc, ESRI.ArcGIS.Geodatabase.IQueryFilter queryFilter)
        {
            //Must Add OID
            queryFilter.AddField(fc.OIDFieldName);

            m_pFeatureClass = fc;
            m_pQueryFilter  = queryFilter;
        }
コード例 #2
0
        void IFeatureRenderer.PrepareFilter(ESRI.ArcGIS.Geodatabase.IFeatureClass fc, ESRI.ArcGIS.Geodatabase.IQueryFilter queryFilter)
        {
            //Must Add OID
            if (queryFilter == null)
            {
                queryFilter = new QueryFilterClass();
            }
            queryFilter.AddField(fc.OIDFieldName);

            intEstIdx = fc.FindField(strValueFldName);

            queryFilter.AddField(strValueFldName);
            m_pFeatureClass = fc;
            m_pQueryFilter  = queryFilter;
        }