Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
P_IMAGE.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class P_IMAGE : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public P_IMAGE(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(P_IMAGE obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
32 ~P_IMAGE() {
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public IntPtr hImage {
54 set {
55 /*SIMPLETYPE*/
56 PCADGlobalsPINVOKE.P_IMAGE_hImage_set(swigCPtr, value /*SIMPLETYPE*/);
58 }
59 get {
60 /*SIMPLETYPE*/
61 IntPtr ret = PCADGlobalsPINVOKE.P_IMAGE_hImage_get(swigCPtr);
63 return ret;
64 }
65 }
66
68 set {
71 }
72 get {
75 return ret;
76 }
77 }
78
80 set {
83 }
84 get {
87 return ret;
88 }
89 }
90
92 set {
95 }
96 get {
97 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.P_IMAGE_LlWorldPoint_get(swigCPtr);
98 IMAGE_PNT_3D ret = (cPtr == global::System.IntPtr.Zero) ? null : new IMAGE_PNT_3D(cPtr, false);
100 return ret;
101 }
102 }
103
105 set {
108 }
109 get {
110 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.P_IMAGE_UrWorldPoint_get(swigCPtr);
111 IMAGE_PNT_3D ret = (cPtr == global::System.IntPtr.Zero) ? null : new IMAGE_PNT_3D(cPtr, false);
113 return ret;
114 }
115 }
116
117 public P_IMAGE() : this(PCADGlobalsPINVOKE.new_P_IMAGE(), true) {
119 }
120
121}
122
123}
static HandleRef getCPtr(IMAGE_PNT_3D obj)
Definition: IMAGE_PNT_3D.cs:28
SWIGTYPE_p_POINT UrDevicePoint
Definition: P_IMAGE.cs:79
virtual void Dispose(bool disposing)
Definition: P_IMAGE.cs:41
static HandleRef getCPtr(P_IMAGE obj)
Definition: P_IMAGE.cs:28
IMAGE_PNT_3D UrWorldPoint
Definition: P_IMAGE.cs:104
SWIGTYPE_p_POINT LlDevicePoint
Definition: P_IMAGE.cs:67
IMAGE_PNT_3D LlWorldPoint
Definition: P_IMAGE.cs:91
P_IMAGE(IntPtr cPtr, bool cMemoryOwn)
Definition: P_IMAGE.cs:23
static void P_IMAGE_LlDevicePoint_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void P_IMAGE_UrDevicePoint_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void P_IMAGE_hImage_set(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr P_IMAGE_UrWorldPoint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr P_IMAGE_LlDevicePoint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void P_IMAGE_UrWorldPoint_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr P_IMAGE_UrDevicePoint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void P_IMAGE_LlWorldPoint_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr P_IMAGE_hImage_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_P_IMAGE(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr P_IMAGE_LlWorldPoint_get(global::System.Runtime.InteropServices.HandleRef jarg1)