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();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
141 private void SwigDirectorConnect() {
142 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
144 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
146 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
148 if (SwigDerivedClassHasMethod(
"drawPaper", swigMethodTypes3))
150 if (SwigDerivedClassHasMethod(
"drawBorder", swigMethodTypes4))
152 if (SwigDerivedClassHasMethod(
"drawMargins", swigMethodTypes5))
157 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
158 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);
159 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDbLayoutPaperPE));
160 return hasDerivedMethod;
163 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
172 private IntPtr SwigDirectorMethodisA() {
179 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
185 private bool SwigDirectorMethoddrawPaper(IntPtr pThis, IntPtr pWd, global::System.IntPtr points) {
187 (OdDbLayout)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLayout),pThis,
false)
190, (points == global::System.IntPtr.Zero) ?
null : new
OdGePoint3d(points, false));
193 private bool SwigDirectorMethoddrawBorder(IntPtr pThis, IntPtr pWd, global::System.IntPtr points) {
195 (OdDbLayout)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLayout),pThis,
false)
198, (points == global::System.IntPtr.Zero) ?
null : new
OdGePoint3d(points, false));
201 private bool SwigDirectorMethoddrawMargins(IntPtr pThis, IntPtr pWd, global::System.IntPtr points) {
203 (OdDbLayout)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLayout),pThis,
false)
206, (points == global::System.IntPtr.Zero) ?
null : new
OdGePoint3d(points, false));
223 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
224 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
225 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
226 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDbLayout), typeof(
OdGiWorldDraw), typeof(
OdGePoint3d) };
227 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbLayout), typeof(
OdGiWorldDraw), typeof(
OdGePoint3d) };
228 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbLayout), typeof(
OdGiWorldDraw), typeof(
OdGePoint3d) };
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, OdDbLayoutPaperPE.SwigDelegateOdDbLayoutPaperPE_5 delegate5)