Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgDetailingSymbolXAttribute.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
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDgDetailingSymbolXAttribute(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgDetailingSymbolXAttribute_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgDetailingSymbolXAttribute obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public static OdDgDetailingSymbolXAttribute cast(OdRxObject pObj) {// OdSmartPtr<OdDgDetailingSymbolXAttribute>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDgDetailingSymbolXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDetailingSymbolXAttribute),ptr, true));
52 ret = (OdDgDetailingSymbolXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDetailingSymbolXAttribute),ptr, false);
53 }
54 else
55 {
56 ret = (OdDgDetailingSymbolXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDetailingSymbolXAttribute),ptr, true);
57 }
58
60 return ret;
61}
62
63 public new static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgDetailingSymbolXAttribute_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public override OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgDetailingSymbolXAttribute_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public override OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TG_DbPINVOKE.OdDgDetailingSymbolXAttribute_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public static OdDgDetailingSymbolXAttribute createObject() {// OdSmartPtr<OdDgDetailingSymbolXAttribute>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDgDetailingSymbolXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDetailingSymbolXAttribute),ptr, true));
93 ret = (OdDgDetailingSymbolXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDetailingSymbolXAttribute),ptr, false);
94 }
95 else
96 {
97 ret = (OdDgDetailingSymbolXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDetailingSymbolXAttribute),ptr, true);
98 }
99
101 return ret;
102}
103
107 return ret;
108 }
109
113 }
114
115 public virtual bool getColorWasDefinedFlag() {
118 return ret;
119 }
120
121 public virtual bool getLineTypeWasDefinedFlag() {
124 return ret;
125 }
126
127 public virtual bool getLineWeightWasDefinedFlag() {
130 return ret;
131 }
132
133 public virtual bool getLevelWasDefinedFlag() {
136 return ret;
137 }
138
139 public virtual bool getBubbleSizeFlag() {
142 return ret;
143 }
144
145 public virtual void setColorWasDefinedFlag(bool bSet) {
148 }
149
150 public virtual void setLineTypeWasDefinedFlag(bool bSet) {
153 }
154
155 public virtual void setLineWeightWasDefinedFlag(bool bSet) {
158 }
159
160 public virtual void setLevelWasDefinedFlag(bool bSet) {
163 }
164
165 public virtual void setBubbleSizeFlag(bool bSet) {
168 }
169
170 public virtual double getBubbleSize() {
173 return ret;
174 }
175
176 public virtual void setBubbleSize(double dSize) {
179 }
180
184 return ret;
185 }
186
190 }
191
192 public virtual bool getAnnotationScaleFlag() {
195 return ret;
196 }
197
198 public virtual void setAnnotationScaleFlag(bool bSet) {
201 }
202
203 public virtual bool getFlipArrowMarkerFlag() {
206 return ret;
207 }
208
209 public virtual void setFlipArrowMarkerFlag(bool bSet) {
212 }
213
214 public virtual UInt64 getTableRecordId() {
215// test csout
216 /*SIMPLETYPE*/
219 return ret;
220 }
221
222 public virtual void setTableRecordId(UInt64 /*SIMPLETYPE*/ uId) {
225 }
226
227 public virtual double getAnnotationScale() {
230 return ret;
231 }
232
233 public virtual void setAnnotationScale(double dScale) {
236 }
237
238 public virtual double getDetailingSymbolSize() {
241 return ret;
242 }
243
244 public virtual void setDetailingSymbolSize(double dSize) {
247 }
248
249 public virtual double getDetailSymbolArea() {
252 return ret;
253 }
254
255 public virtual void setDetailSymbolArea(double dSize) {
258 }
259
260 public virtual UInt16 getTextPositionFlags() {
261// test csout
262 /*SIMPLETYPE*/
265 return ret;
266 }
267
268 public virtual void setTextPositionFlags(UInt16 /*SIMPLETYPE*/ uFlags) {
271 }
272
273 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
274 string ret = TG_DbPINVOKE.OdDgDetailingSymbolXAttribute_getRealClassName(ptr /*SIMPLETYPE*/);
276 return ret;
277 }
278
282 }
283
285 kUndefined = 0,
287 kTitleText = 2,
288 kArrowMarker = 3,
289 kDetailMarker = 4
290 }
291
292 public const int kType = 0x57000000;
293
294}
295
296}
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdDgDetailingSymbolXAttribute obj)
virtual OdDgDetailingSymbolXAttribute.OdDgDetailingSymbolType getSymbolType()
static OdDgDetailingSymbolXAttribute cast(OdRxObject pObj)
OdDgDetailingSymbolXAttribute(IntPtr cPtr, bool cMemoryOwn)
virtual void setXAttributeType(OdDgDetailingSymbolXAttribute.OdDgDetailingXAttributeType uType)
static OdDgDetailingSymbolXAttribute createObject()
virtual void setSymbolType(OdDgDetailingSymbolXAttribute.OdDgDetailingSymbolType uType)
virtual OdDgDetailingSymbolXAttribute.OdDgDetailingXAttributeType getXAttributeType()
override OdRxObject queryX(OdRxClass protocolClass)
static global::System.Exception Retrieve()
static bool OdDgDetailingSymbolXAttribute_getBubbleSizeFlag(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setSymbolType(HandleRef jarg1, int jarg2)
static double OdDgDetailingSymbolXAttribute_getDetailSymbolArea(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setDetailingSymbolSize(HandleRef jarg1, double jarg2)
static void OdDgDetailingSymbolXAttribute_setXAttributeType(HandleRef jarg1, int jarg2)
static IntPtr OdDgDetailingSymbolXAttribute_desc()
static void OdDgDetailingSymbolXAttribute_setBubbleSize(HandleRef jarg1, double jarg2)
static void delete_OdDgDetailingSymbolXAttribute(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setTextPositionFlags(HandleRef jarg1, UInt16 jarg2)
static bool OdDgDetailingSymbolXAttribute_getLineTypeWasDefinedFlag(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setTableRecordId(HandleRef jarg1, UInt64 jarg2)
static bool OdDgDetailingSymbolXAttribute_getColorWasDefinedFlag(HandleRef jarg1)
static IntPtr OdDgDetailingSymbolXAttribute_cast(HandleRef jarg1)
static IntPtr OdDgDetailingSymbolXAttribute_createObject()
static string OdDgDetailingSymbolXAttribute_getRealClassName(IntPtr jarg1)
static int OdDgDetailingSymbolXAttribute_getXAttributeType(HandleRef jarg1)
static UInt64 OdDgDetailingSymbolXAttribute_getTableRecordId(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setAnnotationScaleFlag(HandleRef jarg1, bool jarg2)
static void OdDgDetailingSymbolXAttribute_setBubbleSizeFlag(HandleRef jarg1, bool jarg2)
static double OdDgDetailingSymbolXAttribute_getBubbleSize(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setLineTypeWasDefinedFlag(HandleRef jarg1, bool jarg2)
static IntPtr OdDgDetailingSymbolXAttribute_isA(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setAnnotationScale(HandleRef jarg1, double jarg2)
static UInt16 OdDgDetailingSymbolXAttribute_getTextPositionFlags(HandleRef jarg1)
static IntPtr OdDgDetailingSymbolXAttribute_queryX(HandleRef jarg1, HandleRef jarg2)
static bool OdDgDetailingSymbolXAttribute_getFlipArrowMarkerFlag(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setColorWasDefinedFlag(HandleRef jarg1, bool jarg2)
static void OdDgDetailingSymbolXAttribute_setDetailSymbolArea(HandleRef jarg1, double jarg2)
static double OdDgDetailingSymbolXAttribute_getAnnotationScale(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setLineWeightWasDefinedFlag(HandleRef jarg1, bool jarg2)
static double OdDgDetailingSymbolXAttribute_getDetailingSymbolSize(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setLevelWasDefinedFlag(HandleRef jarg1, bool jarg2)
static bool OdDgDetailingSymbolXAttribute_getLineWeightWasDefinedFlag(HandleRef jarg1)
static int OdDgDetailingSymbolXAttribute_getSymbolType(HandleRef jarg1)
static void OdDgDetailingSymbolXAttribute_setFlipArrowMarkerFlag(HandleRef jarg1, bool jarg2)
static bool OdDgDetailingSymbolXAttribute_getAnnotationScaleFlag(HandleRef jarg1)
static bool OdDgDetailingSymbolXAttribute_getLevelWasDefinedFlag(HandleRef jarg1)