Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdAveBGOpt.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 OdAveBGOpt : 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 OdAveBGOpt(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(OdAveBGOpt obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~OdAveBGOpt() {
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 OdAveBGOpt() : this(TD_DbPINVOKE.new_OdAveBGOpt(), true) {
54 }
55
57 set {
60 }
61 get {
64 return ret;
65 }
66 }
67
69 set {
72 }
73 get {
74 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveBGOpt_m_pImage_get(swigCPtr);
75 OdAveBitmap ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAveBitmap(cPtr, false);
77 return ret;
78 }
79 }
80
82 set {
85 }
86 get {
89 return ret;
90 }
91 }
92
93 public UInt32 m_SolidColor {
94 set {
95 /*SIMPLETYPE*/
96 TD_DbPINVOKE.OdAveBGOpt_m_SolidColor_set(swigCPtr, value /*SIMPLETYPE*/);
98 }
99 get {
100 /*SIMPLETYPE*/
101 UInt32 ret = TD_DbPINVOKE.OdAveBGOpt_m_SolidColor_get(swigCPtr);
103 return ret;
104 }
105 }
106
107 public UInt32 m_GrColor1 {
108 set {
109 /*SIMPLETYPE*/
110 TD_DbPINVOKE.OdAveBGOpt_m_GrColor1_set(swigCPtr, value /*SIMPLETYPE*/);
112 }
113 get {
114 /*SIMPLETYPE*/
115 UInt32 ret = TD_DbPINVOKE.OdAveBGOpt_m_GrColor1_get(swigCPtr);
117 return ret;
118 }
119 }
120
121 public UInt32 m_GrColor2 {
122 set {
123 /*SIMPLETYPE*/
124 TD_DbPINVOKE.OdAveBGOpt_m_GrColor2_set(swigCPtr, value /*SIMPLETYPE*/);
126 }
127 get {
128 /*SIMPLETYPE*/
129 UInt32 ret = TD_DbPINVOKE.OdAveBGOpt_m_GrColor2_get(swigCPtr);
131 return ret;
132 }
133 }
134
135 public UInt32 m_GrColor3 {
136 set {
137 /*SIMPLETYPE*/
138 TD_DbPINVOKE.OdAveBGOpt_m_GrColor3_set(swigCPtr, value /*SIMPLETYPE*/);
140 }
141 get {
142 /*SIMPLETYPE*/
143 UInt32 ret = TD_DbPINVOKE.OdAveBGOpt_m_GrColor3_get(swigCPtr);
145 return ret;
146 }
147 }
148
149 public double m_dGrHorizon {
150 set {
153 }
154 get {
155 double ret = TD_DbPINVOKE.OdAveBGOpt_m_dGrHorizon_get(swigCPtr);
157 return ret;
158 }
159 }
160
161 public double m_dGrHeight {
162 set {
165 }
166 get {
167 double ret = TD_DbPINVOKE.OdAveBGOpt_m_dGrHeight_get(swigCPtr);
169 return ret;
170 }
171 }
172
173 public double m_dGrRotation {
174 set {
177 }
178 get {
179 double ret = TD_DbPINVOKE.OdAveBGOpt_m_dGrRotation_get(swigCPtr);
181 return ret;
182 }
183 }
184
185 public bool m_bEnvBackground {
186 set {
189 }
190 get {
193 return ret;
194 }
195 }
196
198 set { // OdString csvarin
201 }
202
203 get { // OdString csvarout
204 string ret = TD_DbPINVOKE.OdAveBGOpt_m_EnvImageName_get(swigCPtr);
206 return ret;
207 }
208
209 }
210
211}
212
213}
virtual void Dispose(bool disposing)
Definition: OdAveBGOpt.cs:40
OdAveBitmap m_pImage
Definition: OdAveBGOpt.cs:68
static HandleRef getCPtr(OdAveBGOpt obj)
Definition: OdAveBGOpt.cs:27
OdAveBGOpt(IntPtr cPtr, bool cMemoryOwn)
Definition: OdAveBGOpt.cs:22
BackgroundType m_BgType
Definition: OdAveBGOpt.cs:56
static HandleRef getCPtr(OdAveBitmap obj)
Definition: OdAveBitmap.cs:27
static global::System.Exception Retrieve()
static void OdAveBGOpt_m_GrColor1_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdAveBGOpt_m_dGrHorizon_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdAveBGOpt_m_bDefaultBackground_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAveBGOpt_m_dGrHeight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBGOpt_m_GrColor3_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdAveBGOpt_m_dGrRotation_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdAveBGOpt_m_pImage_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBGOpt_m_bEnvBackground_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static String OdAveBGOpt_m_EnvImageName_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdAveBGOpt_m_BgType_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBGOpt_m_BgType_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static UInt32 OdAveBGOpt_m_GrColor1_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBGOpt_m_GrColor2_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdAveBGOpt_m_SolidColor_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static UInt32 OdAveBGOpt_m_GrColor2_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBGOpt_m_pImage_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdAveBGOpt_m_dGrHorizon_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBGOpt_m_EnvImageName_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdAveBGOpt_m_bDefaultBackground_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdAveBGOpt_m_dGrHeight_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static UInt32 OdAveBGOpt_m_GrColor3_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdAveBGOpt_m_bEnvBackground_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdAveBGOpt_m_SolidColor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdAveBGOpt(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAveBGOpt_m_dGrRotation_get(global::System.Runtime.InteropServices.HandleRef jarg1)