Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbLSSymbolReference.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 OdDbLSSymbolReference : 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 OdDbLSSymbolReference(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(OdDbLSSymbolReference 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 OdDbLSSymbolReference() : this(TD_DbPINVOKE.new_OdDbLSSymbolReference(), true) {
54 }
55
56 public bool partialStrokes() {
59 return ret;
60 }
61
62 public void setPartialStrokes(bool bSet) {
65 }
66
67 public bool clipPartial() {
70 return ret;
71 }
72
73 public void setClipPartial(bool bSet) {
76 }
77
78 public bool allowStretch() {
81 return ret;
82 }
83
84 public void setAllowStretch(bool bSet) {
87 }
88
89 public bool partialProjected() {
92 return ret;
93 }
94
95 public void setPartialProjected(bool bSet) {
98 }
99
100 public bool useSymbolColor() {
103 return ret;
104 }
105
106 public void setUseSymbolColor(bool bSet) {
109 }
110
111 public bool useSymbolLineweight() {
114 return ret;
115 }
116
117 public void setUseSymbolLineweight(bool bSet) {
120 }
121
125 return ret;
126 }
127
131 }
132
136 return ret;
137 }
138
142 }
143
144 public UInt32 vertexMask() {
145// test csout
146 /*SIMPLETYPE*/
147 UInt32 ret = TD_DbPINVOKE.OdDbLSSymbolReference_vertexMask(swigCPtr);
149 return ret;
150 }
151
152 public void setVertexMask(UInt32 /*SIMPLETYPE*/ nVertexMask) {
153 TD_DbPINVOKE.OdDbLSSymbolReference_setVertexMask(swigCPtr, nVertexMask /*SIMPLETYPE*/);
155 }
156
157 public double xOffset() {
158 double ret = TD_DbPINVOKE.OdDbLSSymbolReference_xOffset(swigCPtr);
160 return ret;
161 }
162
163 public void setXOffset(double fOffset) {
166 }
167
168 public double yOffset() {
169 double ret = TD_DbPINVOKE.OdDbLSSymbolReference_yOffset(swigCPtr);
171 return ret;
172 }
173
174 public void setYOffset(double fOffset) {
177 }
178
179 public double angle() {
180 double ret = TD_DbPINVOKE.OdDbLSSymbolReference_angle(swigCPtr);
182 return ret;
183 }
184
185 public void setAngle(double fAngle) {
188 }
189
190 public Int32 strokeNumber() {
191// test csout
192 /*SIMPLETYPE*/
195 return ret;
196 }
197
198 public void setStrokeNumber(Int32 /*SIMPLETYPE*/ nStroke) {
199 TD_DbPINVOKE.OdDbLSSymbolReference_setStrokeNumber(swigCPtr, nStroke /*SIMPLETYPE*/);
201 }
202
204 MemoryManager mMan = MemoryManager.GetMemoryManager();
205 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #27
207
208 OdDbObjectId ret = null;
209 if (null != mTrans)
210 {
211 mTrans.AddObject(new OdDbObjectId(ptr, true));
212 ret = new OdDbObjectId(ptr, false);
213 }
214 else
215 {
216 ret = new OdDbObjectId(ptr, true);
217 }
218
220 return ret;
221}
222
226 }
227
232 public uint vb_vertexMask() { return this.vertexMask(); }
233
239
245
246 public enum VertexMask {
247 kLSAtStroke = 0,
248 kLSAtOrigin = 4,
249 kLSAtEnd = 8,
250 kLSAtVertex = 16
251 }
252
253 public enum Justify {
254 kLSNoJustify = 0,
255 kLSJustifyLeft = 1,
256 kLSJustifyRight = 2,
258 }
259
260 public enum RotationType {
261 kLSRelative = 0,
262 kLSAbsolute = 1,
263 kLSAdjusted = 2
264 }
265
266}
267
268}
void setVertexMask(UInt32 nVertexMask)
static HandleRef getCPtr(OdDbLSSymbolReference obj)
Teigha.TD.OdDbLSSymbolReference.RotationType vb_rotationType()
OdDbLSSymbolReference(IntPtr cPtr, bool cMemoryOwn)
OdDbLSSymbolReference.RotationType rotationType()
void setJustify(OdDbLSSymbolReference.Justify nSet)
Teigha.TD.OdDbLSSymbolReference.Justify vb_justify()
OdDbLSSymbolReference.Justify justify()
void setSymbolComponent(OdDbObjectId id)
virtual void Dispose(bool disposing)
void setRotationType(OdDbLSSymbolReference.RotationType nSet)
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static global::System.Exception Retrieve()
static double OdDbLSSymbolReference_yOffset(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setYOffset(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDbLSSymbolReference_setPartialStrokes(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDbLSSymbolReference_clipPartial(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setVertexMask(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdDbLSSymbolReference_symbolComponent(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbLSSymbolReference_xOffset(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbLSSymbolReference_partialProjected(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbLSSymbolReference_angle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setSymbolComponent(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbLSSymbolReference_setAllowStretch(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_OdDbLSSymbolReference(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbLSSymbolReference_partialStrokes(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setPartialProjected(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDbLSSymbolReference_allowStretch(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdDbLSSymbolReference_rotationType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setJustify(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDbLSSymbolReference_setRotationType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDbLSSymbolReference_setXOffset(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDbLSSymbolReference_useSymbolColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setUseSymbolLineweight(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static Int32 OdDbLSSymbolReference_strokeNumber(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSSymbolReference_setClipPartial(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbLSSymbolReference_setStrokeNumber(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void OdDbLSSymbolReference_setUseSymbolColor(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDbLSSymbolReference_vertexMask(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLSSymbolReference_justify(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbLSSymbolReference_useSymbolLineweight(global::System.Runtime.InteropServices.HandleRef jarg1)