Exemple #1
0
 public OcrCharVariantVector(OcrCharVariantVector other) : this(csSmartIdEnginePINVOKE.new_OcrCharVariantVector__SWIG_1(OcrCharVariantVector.getCPtr(other)), true)
 {
     if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public OcrCharVariantVectorEnumerator(OcrCharVariantVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public OcrChar(OcrCharVariantVector ocr_char_variants, bool is_highlighted, bool is_corrected) : this(csSmartIdEnginePINVOKE.new_OcrChar__SWIG_1(OcrCharVariantVector.getCPtr(ocr_char_variants), is_highlighted, is_corrected), true)
 {
     if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void SetRange(int index, OcrCharVariantVector values)
 {
     csSmartIdEnginePINVOKE.OcrCharVariantVector_SetRange(swigCPtr, index, OcrCharVariantVector.getCPtr(values));
     if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
        public static OcrCharVariantVector Repeat(OcrCharVariant value, int count)
        {
            global::System.IntPtr cPtr = csSmartIdEnginePINVOKE.OcrCharVariantVector_Repeat(OcrCharVariant.getCPtr(value), count);
            OcrCharVariantVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OcrCharVariantVector(cPtr, true);

            if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
            {
                throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #6
0
        public OcrCharVariantVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = csSmartIdEnginePINVOKE.OcrCharVariantVector_GetRange(swigCPtr, index, count);
            OcrCharVariantVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OcrCharVariantVector(cPtr, true);

            if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
            {
                throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OcrCharVariantVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #8
0
        public OcrCharVariantVector GetOcrCharVariants()
        {
            OcrCharVariantVector ret = new OcrCharVariantVector(csSmartIdEnginePINVOKE.OcrChar_GetOcrCharVariants(swigCPtr), false);

            return(ret);
        }