Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdCellRange.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdCellRange : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdCellRange(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdCellRange obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~OdCellRange() {
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public Int32 m_topRow {
53 set {
54 /*SIMPLETYPE*/
55 TD_DbPINVOKE.OdCellRange_m_topRow_set(swigCPtr, value /*SIMPLETYPE*/);
57 }
58 get {
59 /*SIMPLETYPE*/
60 Int32 ret = TD_DbPINVOKE.OdCellRange_m_topRow_get(swigCPtr);
62 return ret;
63 }
64 }
65
66 public Int32 m_leftColumn {
67 set {
68 /*SIMPLETYPE*/
69 TD_DbPINVOKE.OdCellRange_m_leftColumn_set(swigCPtr, value /*SIMPLETYPE*/);
71 }
72 get {
73 /*SIMPLETYPE*/
74 Int32 ret = TD_DbPINVOKE.OdCellRange_m_leftColumn_get(swigCPtr);
76 return ret;
77 }
78 }
79
80 public Int32 m_bottomRow {
81 set {
82 /*SIMPLETYPE*/
83 TD_DbPINVOKE.OdCellRange_m_bottomRow_set(swigCPtr, value /*SIMPLETYPE*/);
85 }
86 get {
87 /*SIMPLETYPE*/
88 Int32 ret = TD_DbPINVOKE.OdCellRange_m_bottomRow_get(swigCPtr);
90 return ret;
91 }
92 }
93
94 public Int32 m_rightColumn {
95 set {
96 /*SIMPLETYPE*/
97 TD_DbPINVOKE.OdCellRange_m_rightColumn_set(swigCPtr, value /*SIMPLETYPE*/);
99 }
100 get {
101 /*SIMPLETYPE*/
102 Int32 ret = TD_DbPINVOKE.OdCellRange_m_rightColumn_get(swigCPtr);
104 return ret;
105 }
106 }
107
108 public OdCellRange() : this(TD_DbPINVOKE.new_OdCellRange__SWIG_0(), true) {
110 }
111
112 public OdCellRange(Int32 /*SIMPLETYPE*/ topRow, Int32 /*SIMPLETYPE*/ leftColumn, Int32 /*SIMPLETYPE*/ bottomRow, Int32 /*SIMPLETYPE*/ rightColumn) : this(TD_DbPINVOKE.new_OdCellRange__SWIG_1(topRow /*SIMPLETYPE*/, leftColumn /*SIMPLETYPE*/, bottomRow /*SIMPLETYPE*/, rightColumn /*SIMPLETYPE*/), true) {
114 }
115
116 public bool IsEqual(OdCellRange range) {
117 bool ret = TD_DbPINVOKE.OdCellRange_IsEqual(swigCPtr, OdCellRange.getCPtr(range));
119 return ret;
120 }
121
122 public bool IsNotEqual(OdCellRange range) {
123 bool ret = TD_DbPINVOKE.OdCellRange_IsNotEqual(swigCPtr, OdCellRange.getCPtr(range));
125 return ret;
126 }
127
128}
129
130}
OdCellRange(Int32 topRow, Int32 leftColumn, Int32 bottomRow, Int32 rightColumn)
Definition: OdCellRange.cs:112
virtual void Dispose(bool disposing)
Definition: OdCellRange.cs:40
bool IsEqual(OdCellRange range)
Definition: OdCellRange.cs:116
static HandleRef getCPtr(OdCellRange obj)
Definition: OdCellRange.cs:27
bool IsNotEqual(OdCellRange range)
Definition: OdCellRange.cs:122
OdCellRange(IntPtr cPtr, bool cMemoryOwn)
Definition: OdCellRange.cs:22
static global::System.Exception Retrieve()
static Int32 OdCellRange_m_rightColumn_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdCellRange_m_rightColumn_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static Int32 OdCellRange_m_leftColumn_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdCellRange(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdCellRange_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static Int32 OdCellRange_m_topRow_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdCellRange_m_leftColumn_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static Int32 OdCellRange_m_bottomRow_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdCellRange_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdCellRange_m_topRow_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void OdCellRange_m_bottomRow_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)