public static PImage.EFileFormat GetEFileFormatFromString(string format) { PImage.EFileFormat ret = (PImage.EFileFormat)PapillonPINVOKE.PImage_GetEFileFormatFromString(format); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Save(PByteArray outputBuffer, PImage.EFileFormat format) { PResult ret = new PResult(PapillonPINVOKE.PImage_Save__SWIG_1(swigCPtr, PByteArray.getCPtr(outputBuffer), (int)format), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }