Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdAveRenderOption.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 OdAveRenderOption : 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 OdAveRenderOption(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(OdAveRenderOption 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 bool getRenderOption(OdDbDatabase pDb) {
55 return ret;
56 }
57
61 return ret;
62 }
63
65 set {
68 }
69 get {
70 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveRenderOption_m_Pref_get(swigCPtr);
71 OdAvePref ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAvePref(cPtr, false);
73 return ret;
74 }
75 }
76
78 set {
81 }
82 get {
83 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveRenderOption_m_FullOpt_get(swigCPtr);
84 OdAveFullOpt ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAveFullOpt(cPtr, false);
86 return ret;
87 }
88 }
89
91 set {
94 }
95 get {
96 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveRenderOption_m_ScanlOpt_get(swigCPtr);
97 OdAveScanlOpt ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAveScanlOpt(cPtr, false);
99 return ret;
100 }
101 }
102
104 set {
107 }
108 get {
109 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveRenderOption_m_RaytrOpt_get(swigCPtr);
110 OdAveRaytrOpt ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAveRaytrOpt(cPtr, false);
112 return ret;
113 }
114 }
115
117 set {
120 }
121 get {
122 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveRenderOption_m_RFileOpt_get(swigCPtr);
123 OdAveRFileOpt ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAveRFileOpt(cPtr, false);
125 return ret;
126 }
127 }
128
130 set {
133 }
134 get {
135 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveRenderOption_m_FogOpt_get(swigCPtr);
136 OdAveFogOpt ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAveFogOpt(cPtr, false);
138 return ret;
139 }
140 }
141
143 set {
146 }
147 get {
148 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveRenderOption_m_BGOpt_get(swigCPtr);
149 OdAveBGOpt ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdAveBGOpt(cPtr, false);
151 return ret;
152 }
153 }
154
155 public OdAveRenderOption() : this(TD_DbPINVOKE.new_OdAveRenderOption(), true) {
157 }
158
159}
160
161}
static HandleRef getCPtr(OdAveBGOpt obj)
Definition: OdAveBGOpt.cs:27
static HandleRef getCPtr(OdAveFogOpt obj)
Definition: OdAveFogOpt.cs:27
static HandleRef getCPtr(OdAveFullOpt obj)
Definition: OdAveFullOpt.cs:27
static HandleRef getCPtr(OdAvePref obj)
Definition: OdAvePref.cs:27
static HandleRef getCPtr(OdAveRFileOpt obj)
static HandleRef getCPtr(OdAveRaytrOpt obj)
OdAveRenderOption(IntPtr cPtr, bool cMemoryOwn)
virtual void Dispose(bool disposing)
OdResult writeRenderOption(OdDbDatabase pDb)
static HandleRef getCPtr(OdAveRenderOption obj)
bool getRenderOption(OdDbDatabase pDb)
static HandleRef getCPtr(OdAveScanlOpt obj)
static HandleRef getCPtr(OdDbDatabase obj)
Definition: OdDbDatabase.cs:26
static global::System.Exception Retrieve()
static global::System.IntPtr OdAveRenderOption_m_RaytrOpt_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveRenderOption_m_FullOpt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveRenderOption_m_BGOpt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveRenderOption_m_RaytrOpt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdAveRenderOption_m_RFileOpt_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveRenderOption_m_RFileOpt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdAveRenderOption_m_ScanlOpt_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAveRenderOption_m_BGOpt_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdAveRenderOption(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveRenderOption_m_Pref_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdAveRenderOption_getRenderOption(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static int OdAveRenderOption_writeRenderOption(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdAveRenderOption_m_Pref_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveRenderOption_m_ScanlOpt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdAveRenderOption_m_FogOpt_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAveRenderOption_m_FullOpt_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveRenderOption_m_FogOpt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)