internal static HandleRef getCPtr(SWIGTYPE_p_ProgressHook obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #2
0
 public static RENDERRESULT RenderDocument(BaseDocument doc, BaseContainer rdata, SWIGTYPE_p_ProgressHook pr, SWIGTYPE_p_void private_data, BaseBitmap bmp, RENDERFLAGS renderflags, BaseThread th) {
   RENDERRESULT ret = (RENDERRESULT)C4dApiPINVOKE.RenderDocument(BaseDocument.getCPtr(doc), BaseContainer.getCPtr(rdata), SWIGTYPE_p_ProgressHook.getCPtr(pr), SWIGTYPE_p_void.getCPtr(private_data), BaseBitmap.getCPtr(bmp), (int)renderflags, BaseThread.getCPtr(th));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }