Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
ODRECT_.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class ODRECT_ : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public ODRECT_(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(ODRECT_ obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~ODRECT_() {
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public Int32 left {
52 set {
53 /*SIMPLETYPE*/
54 GlobalsPINVOKE.ODRECT__left_set(swigCPtr, value /*SIMPLETYPE*/);
56 }
57 get {
58 /*SIMPLETYPE*/
59 Int32 ret = GlobalsPINVOKE.ODRECT__left_get(swigCPtr);
61 return ret;
62 }
63 }
64
65 public Int32 top {
66 set {
67 /*SIMPLETYPE*/
68 GlobalsPINVOKE.ODRECT__top_set(swigCPtr, value /*SIMPLETYPE*/);
70 }
71 get {
72 /*SIMPLETYPE*/
73 Int32 ret = GlobalsPINVOKE.ODRECT__top_get(swigCPtr);
75 return ret;
76 }
77 }
78
79 public Int32 right {
80 set {
81 /*SIMPLETYPE*/
82 GlobalsPINVOKE.ODRECT__right_set(swigCPtr, value /*SIMPLETYPE*/);
84 }
85 get {
86 /*SIMPLETYPE*/
87 Int32 ret = GlobalsPINVOKE.ODRECT__right_get(swigCPtr);
89 return ret;
90 }
91 }
92
93 public Int32 bottom {
94 set {
95 /*SIMPLETYPE*/
96 GlobalsPINVOKE.ODRECT__bottom_set(swigCPtr, value /*SIMPLETYPE*/);
98 }
99 get {
100 /*SIMPLETYPE*/
101 Int32 ret = GlobalsPINVOKE.ODRECT__bottom_get(swigCPtr);
103 return ret;
104 }
105 }
106
107 public ODRECT_() : this(GlobalsPINVOKE.new_ODRECT_(), true) {
109 }
110
111}
112
113}
static global::System.Exception Retrieve()
static void ODRECT__right_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void delete_ODRECT_(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 ODRECT__top_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void ODRECT__top_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void ODRECT__bottom_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static Int32 ODRECT__bottom_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void ODRECT__left_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static Int32 ODRECT__left_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 ODRECT__right_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(ODRECT_ obj)
Definition: ODRECT_.cs:26
ODRECT_(IntPtr cPtr, bool cMemoryOwn)
Definition: ODRECT_.cs:21
virtual void Dispose(bool disposing)
Definition: ODRECT_.cs:39