Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgEnvMapBackground.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
17public class OdDgEnvMapBackground : 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 OdDgEnvMapBackground(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(OdDgEnvMapBackground obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
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 OdDgEnvMapBackground() : this(TG_DbPINVOKE.new_OdDgEnvMapBackground(), true) {
54 }
55
59 return ret;
60 }
61
63 TG_DbPINVOKE.OdDgEnvMapBackground_setMode(swigCPtr, (int)uMode);
65 }
66
67 public UInt32 getColor() {
68// test csout
69 /*SIMPLETYPE*/
70 UInt32 ret = TG_DbPINVOKE.OdDgEnvMapBackground_getColor(swigCPtr);
72 return ret;
73 }
74
75 public void setColor(UInt32 /*SIMPLETYPE*/ clrColor) {
76 TG_DbPINVOKE.OdDgEnvMapBackground_setColor(swigCPtr, clrColor /*SIMPLETYPE*/);
78 }
79
83 return ret;
84}
85
86 public void setImageFileName(String strFileName) {
89 }
90
92 kNone = 0,
93 kColor = 1,
94 kImage = 2
95 }
96
97}
98
99}
void setMode(OdDgEnvMapBackground.OdDgEnvMapBackgroungMode uMode)
virtual void Dispose(bool disposing)
OdDgEnvMapBackground(IntPtr cPtr, bool cMemoryOwn)
OdDgEnvMapBackground.OdDgEnvMapBackgroungMode getMode()
static HandleRef getCPtr(OdDgEnvMapBackground obj)
void setImageFileName(String strFileName)
static global::System.Exception Retrieve()
static void OdDgEnvMapBackground_setColor(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void delete_OdDgEnvMapBackground(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapBackground_setImageFileName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static String OdDgEnvMapBackground_getImageFileName(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgEnvMapBackground_getColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapBackground_setMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdDgEnvMapBackground_getMode(global::System.Runtime.InteropServices.HandleRef jarg1)