Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgDetailingSymbol.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 OdDgDetailingSymbol : 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 OdDgDetailingSymbol(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(OdDgDetailingSymbol 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
55 return ret;
56 }
57
58 public virtual UInt32 getLinkNodeCount() {
59// test csout
60 /*SIMPLETYPE*/
63 return ret;
64 }
65
66 public virtual OdDgLinkNode getLinkNode(UInt32 /*SIMPLETYPE*/ uIndex) {
67 //MemoryManager mMan = MemoryManager.GetMemoryManager();
68 //MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #15
69 IntPtr ptr = TG_DbPINVOKE.OdDgDetailingSymbol_getLinkNode(swigCPtr, uIndex /*SIMPLETYPE*/);
70
71 OdDgLinkNode ret = null;
72 //if (null != mTrans)
73 //{
74 //mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDgLinkNode>(typeof(OdDgLinkNode), ptr, true));
75 ret = Teigha.Core.Helpers.odCreateObjectInternal<OdDgLinkNode>(typeof(OdDgLinkNode), ptr, false);
76 //}
77 //else
78 //{
79 // ret = Teigha.Core.Helpers.odCreateObjectInternal<OdDgLinkNode>(typeof(OdDgLinkNode), ptr, true);
80 //}
81
83 return ret;
84}
85
86 public virtual void addLinkNode(OdDgLinkNode pLinkNode) {
89 }
90
91 public virtual void deleteLinkNode(UInt32 /*SIMPLETYPE*/ uIndex) {
92 TG_DbPINVOKE.OdDgDetailingSymbol_deleteLinkNode(swigCPtr, uIndex /*SIMPLETYPE*/);
94 }
95
96 public virtual void applyTextStyle(OdDgElementId idTextStyle) {
99 }
100
101 public virtual bool getAnnotationScaleFlag() {
104 return ret;
105 }
106
107 public virtual void setAnnotationScaleFlag(bool bOn) {
110 }
111
112 public virtual double getAnnotationScale() {
115 return ret;
116 }
117
118 public virtual void setAnnotationScale(double dAnnotationScale) {
119 TG_DbPINVOKE.OdDgDetailingSymbol_setAnnotationScale(swigCPtr, dAnnotationScale);
121 }
122
123 public enum Type {
124 kUnknownSymbol = 0,
125 kSectionMarker = 1,
126 kTitleText = 2,
127 kArrowMarker = 3,
128 kDetailMarker = 4,
130 }
131
132}
133
134}
virtual void applyTextStyle(OdDgElementId idTextStyle)
static HandleRef getCPtr(OdDgDetailingSymbol obj)
OdDgDetailingSymbol(IntPtr cPtr, bool cMemoryOwn)
virtual void deleteLinkNode(UInt32 uIndex)
virtual void setAnnotationScale(double dAnnotationScale)
virtual void addLinkNode(OdDgLinkNode pLinkNode)
virtual OdDgLinkNode getLinkNode(UInt32 uIndex)
virtual OdDgDetailingSymbol.Type getSymbolType()
virtual void setAnnotationScaleFlag(bool bOn)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(OdDgElementId obj)
static global::System.Exception Retrieve()
static IntPtr OdDgDetailingSymbol_getLinkNode(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool OdDgDetailingSymbol_getAnnotationScaleFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgDetailingSymbol_getAnnotationScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDetailingSymbol_deleteLinkNode(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static int OdDgDetailingSymbol_getSymbolType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDetailingSymbol_addLinkNode(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void delete_OdDgDetailingSymbol(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDetailingSymbol_setAnnotationScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgDetailingSymbol_applyTextStyle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgDetailingSymbol_setAnnotationScaleFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgDetailingSymbol_getLinkNodeCount(global::System.Runtime.InteropServices.HandleRef jarg1)