Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgPdfRegionLinkNode.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDgPdfRegionLinkNode(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgPdfRegionLinkNode_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgPdfRegionLinkNode obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public OdDgPdfRegionLinkNode() : this(TG_DbPINVOKE.new_OdDgPdfRegionLinkNode(), true) {
45 }
46
50 return ret;
51 }
52
53 public UInt32 getPdfInfoItemCount() {
54// test csout
55 /*SIMPLETYPE*/
58 return ret;
59 }
60
61 public OdDgPdfRegionInfoItem getPdfInfoItem(UInt32 /*SIMPLETYPE*/ uIndex) {
64 return ret;
65 }
66
67 public void setPdfInfoItem(UInt32 /*SIMPLETYPE*/ uIndex, OdDgPdfRegionInfoItem item) {
70 }
71
75 }
76
77 public void deletePdfInfoItem(UInt32 /*SIMPLETYPE*/ uIndex) {
78 TG_DbPINVOKE.OdDgPdfRegionLinkNode_deletePdfInfoItem(swigCPtr, uIndex /*SIMPLETYPE*/);
80 }
81
82 public override bool clone(ref OdDgLinkNode pRet) {
83IntPtr p_pRet = OdDgLinkNode.getCPtr(pRet).Handle; /*SHAREDPTR& PRE*/
84 try {
85 bool ret = TG_DbPINVOKE.OdDgPdfRegionLinkNode_clone(swigCPtr, ref p_pRet);
87 return ret;
88 } finally {
89MemoryTransaction mTrans_pRet = MemoryManager.GetMemoryManager().GetCurrentTransaction();
90 if(mTrans_pRet != null)
91 mTrans_pRet.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDgLinkNode>(typeof(OdDgLinkNode), p_pRet, true));
92 pRet = Teigha.Core.Helpers.odCreateObjectInternal<OdDgLinkNode>(typeof(OdDgLinkNode), p_pRet, mTrans_pRet == null);
93 /*SHAREDPTR& POST*/
94 }
95 }
96
97 public override bool isEqual(OdDgLinkNode pObj) {
100 return ret;
101 }
102
103 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
104 string ret = TG_DbPINVOKE.OdDgPdfRegionLinkNode_getRealClassName(ptr /*SIMPLETYPE*/);
106 return ret;
107 }
108
109}
110
111}
static HandleRef getCPtr(OdDgPdfRegionInfoItem obj)
static global::System.Exception Retrieve()
static void OdDgPdfRegionLinkNode_setPdfInfoItem(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdDgPdfRegionLinkNode_clone(HandleRef jarg1, ref IntPtr jarg2)
static UInt32 OdDgPdfRegionLinkNode_getPdfInfoItemCount(HandleRef jarg1)
static void OdDgPdfRegionLinkNode_deletePdfInfoItem(HandleRef jarg1, UInt32 jarg2)
static string OdDgPdfRegionLinkNode_getRealClassName(IntPtr jarg1)
static bool OdDgPdfRegionLinkNode_isEqual(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDgPdfRegionLinkNode_getPdfInfoItem(HandleRef jarg1, UInt32 jarg2)
static void delete_OdDgPdfRegionLinkNode(HandleRef jarg1)
static void OdDgPdfRegionLinkNode_addPdfInfoItem(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgPdfRegionLinkNode_getType(HandleRef jarg1)