예제 #1
0
 public void SetDomain(RulerDomain domain)
 {
     Interop.Ruler.RulerPtrSetDomain(swigCPtr, RulerDomain.getCPtr(domain));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
        public RulerDomain GetDomain()
        {
            RulerDomain ret = new RulerDomain(Interop.Ruler.RulerPtrGetDomain(swigCPtr), false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RulerDomain obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }