public void GetMaximum(out double val, out int hasval) { GdalPINVOKE.Band_GetMaximum(swigCPtr, out val, out hasval); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } }