Ejemplo n.º 1
0
        public RATFieldType GetTypeOfCol(int iCol)
        {
            RATFieldType ret = (RATFieldType)GdalPINVOKE.RasterAttributeTable_GetTypeOfCol(swigCPtr, iCol);

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
        public int CreateColumn(string pszName, RATFieldType eType, RATFieldUsage eUsage)
        {
            int ret = GdalPINVOKE.RasterAttributeTable_CreateColumn(swigCPtr, pszName, (int)eType, (int)eUsage);

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public int CreateColumn(string pszName, RATFieldType eType, RATFieldUsage eUsage)
 {
     int ret = GdalPINVOKE.RasterAttributeTable_CreateColumn(swigCPtr, pszName, (int)eType, (int)eUsage);
     if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }