示例#1
0
        public RasterAttributeTable GetDefaultRAT()
        {
            IntPtr cPtr = GdalPINVOKE.Band_GetDefaultRAT(swigCPtr);
            RasterAttributeTable ret = (cPtr == IntPtr.Zero) ? null : new RasterAttributeTable(cPtr, false, ThisOwn_false());

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }