Esempio n. 1
0
 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);
 }
Esempio n. 2
0
    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);
    }