14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdDbLayoutPaperPE(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
56 MemoryManager mMan = MemoryManager.GetMemoryManager();
57 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
97 MemoryManager mMan = MemoryManager.GetMemoryManager();
98 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
140 private void SwigDirectorConnect() {
141 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
143 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
145 if (SwigDerivedClassHasMethod(
"drawPaper", swigMethodTypes2))
147 if (SwigDerivedClassHasMethod(
"drawBorder", swigMethodTypes3))
149 if (SwigDerivedClassHasMethod(
"drawMargins", swigMethodTypes4))
154 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
155 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
156 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDbLayoutPaperPE));
157 return hasDerivedMethod;
160 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
169 private IntPtr SwigDirectorMethodisA() {
176 private bool SwigDirectorMethoddrawPaper(IntPtr pThis, IntPtr pWd, global::System.IntPtr points) {
178 (OdDbLayout)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLayout),pThis,
false)
181, (points == global::System.IntPtr.Zero) ?
null :
new OdGePoint3d(points,
false));
184 private bool SwigDirectorMethoddrawBorder(IntPtr pThis, IntPtr pWd, global::System.IntPtr points) {
186 (OdDbLayout)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLayout),pThis,
false)
189, (points == global::System.IntPtr.Zero) ?
null :
new OdGePoint3d(points,
false));
192 private bool SwigDirectorMethoddrawMargins(IntPtr pThis, IntPtr pWd, global::System.IntPtr points) {
194 (OdDbLayout)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLayout),pThis,
false)
197, (points == global::System.IntPtr.Zero) ?
null :
new OdGePoint3d(points,
false));
212 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
213 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
214 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(OdDbLayout), typeof(
OdGiWorldDraw), typeof(
OdGePoint3d) };
215 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDbLayout), typeof(
OdGiWorldDraw), typeof(
OdGePoint3d) };
216 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbLayout), typeof(
OdGiWorldDraw), typeof(
OdGePoint3d) };
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdDbLayout obj)
static OdDbLayoutPaperPE cast(OdRxObject pObj)
delegate IntPtr SwigDelegateOdDbLayoutPaperPE_1()
virtual bool drawPaper(OdDbLayout pThis, OdGiWorldDraw pWd, OdGePoint3d points)
static HandleRef getCPtr(OdDbLayoutPaperPE obj)
OdDbLayoutPaperPE(IntPtr cPtr, bool cMemoryOwn)
virtual bool drawMargins(OdDbLayout pThis, OdGiWorldDraw pWd, OdGePoint3d points)
delegate bool SwigDelegateOdDbLayoutPaperPE_4(IntPtr pThis, IntPtr pWd, global::System.IntPtr points)
static OdDbLayoutPaperPE createObject()
static string getRealClassName(IntPtr ptr)
delegate bool SwigDelegateOdDbLayoutPaperPE_3(IntPtr pThis, IntPtr pWd, global::System.IntPtr points)
delegate IntPtr SwigDelegateOdDbLayoutPaperPE_0(IntPtr protocolClass)
virtual bool drawBorder(OdDbLayout pThis, OdGiWorldDraw pWd, OdGePoint3d points)
override OdRxObject queryX(OdRxClass protocolClass)
static new OdRxClass desc()
delegate bool SwigDelegateOdDbLayoutPaperPE_2(IntPtr pThis, IntPtr pWd, global::System.IntPtr points)
override void Dispose(bool disposing)
static global::System.Exception Retrieve()
static IntPtr OdDbLayoutPaperPE_isA(HandleRef jarg1)
static bool OdDbLayoutPaperPE_drawBorder(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdDbLayoutPaperPE_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdDbLayoutPaperPE.SwigDelegateOdDbLayoutPaperPE_0 delegate0, OdDbLayoutPaperPE.SwigDelegateOdDbLayoutPaperPE_1 delegate1, OdDbLayoutPaperPE.SwigDelegateOdDbLayoutPaperPE_2 delegate2, OdDbLayoutPaperPE.SwigDelegateOdDbLayoutPaperPE_3 delegate3, OdDbLayoutPaperPE.SwigDelegateOdDbLayoutPaperPE_4 delegate4)
static IntPtr OdDbLayoutPaperPE_createObject()
static bool OdDbLayoutPaperPE_drawPaper(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDbLayoutPaperPE_queryX(HandleRef jarg1, HandleRef jarg2)
static string OdDbLayoutPaperPE_getRealClassName(IntPtr jarg1)
static IntPtr OdDbLayoutPaperPE_isASwigExplicitOdDbLayoutPaperPE(HandleRef jarg1)
static bool OdDbLayoutPaperPE_drawMargins(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDbLayoutPaperPE_queryXSwigExplicitOdDbLayoutPaperPE(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbLayoutPaperPE_desc()
static void delete_OdDbLayoutPaperPE(HandleRef jarg1)
static IntPtr OdDbLayoutPaperPE_cast(HandleRef jarg1)