Esempio n. 1
0
 public ColorTable(PaletteInterp palette) : this(GdalPINVOKE.new_ColorTable((int)palette), true, null)
 {
     if (GdalPINVOKE.SWIGPendingException.Pending)
     {
         throw GdalPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public static string GetPaletteInterpretationName(PaletteInterp ePaletteInterp)
        {
            string ret = GdalPINVOKE.GetPaletteInterpretationName((int)ePaletteInterp);

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public PaletteInterp GetPaletteInterpretation()
        {
            PaletteInterp ret = (PaletteInterp)GdalPINVOKE.ColorTable_GetPaletteInterpretation(swigCPtr);

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
 public ColorTable(PaletteInterp palette) : this(GdalPINVOKE.new_ColorTable((int)palette), true, null) {
   if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 5
0
 public static string GetPaletteInterpretationName(PaletteInterp ePaletteInterp)
 {
     string ret = GdalPINVOKE.GetPaletteInterpretationName((int)ePaletteInterp);
     if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }