Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgLineStyleModificationLinkage.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 OdDgLineStyleModificationLinkage(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgLineStyleModificationLinkage_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgLineStyleModificationLinkage 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 OdDgLineStyleModificationLinkage cast(OdRxObject pObj) {// OdSmartPtr<OdDgLineStyleModificationLinkage>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDgLineStyleModificationLinkage)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgLineStyleModificationLinkage),ptr, true));
52 ret = (OdDgLineStyleModificationLinkage)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgLineStyleModificationLinkage),ptr, false);
53 }
54 else
55 {
56 ret = (OdDgLineStyleModificationLinkage)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgLineStyleModificationLinkage),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.OdDgLineStyleModificationLinkage_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.OdDgLineStyleModificationLinkage_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.OdDgLineStyleModificationLinkage_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDgLineStyleModificationLinkage createObject() {// OdSmartPtr<OdDgLineStyleModificationLinkage>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDgLineStyleModificationLinkage)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgLineStyleModificationLinkage),ptr, true));
93 ret = (OdDgLineStyleModificationLinkage)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgLineStyleModificationLinkage),ptr, false);
94 }
95 else
96 {
97 ret = (OdDgLineStyleModificationLinkage)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgLineStyleModificationLinkage),ptr, true);
98 }
99
101 return ret;
102}
103
104 public virtual void readData(byte[] /*SIMPLEFIXED_ARRAY*/ pData) {
105IntPtr p_pData=Teigha.Core.Helpers.MarshalbyteFixedArray(pData);
106 try {
109 } finally {
110Marshal.FreeCoTaskMem(p_pData);
111 }
112 }
113
114 public virtual bool getUseLineStyleScaleFlag() {
117 return ret;
118 }
119
120 public virtual void setUseLineStyleScaleFlag(bool bSet) {
123 }
124
125 public virtual bool getUseLineStyleDashScaleFlag() {
128 return ret;
129 }
130
131 public virtual void setUseLineStyleDashScaleFlag(bool bSet) {
134 }
135
136 public virtual bool getUseLineStyleGapScaleFlag() {
139 return ret;
140 }
141
142 public virtual void setUseLineStyleGapScaleFlag(bool bSet) {
145 }
146
147 public virtual bool getUseLineStyleTrueWidthFlag() {
150 return ret;
151 }
152
153 public virtual void setUseLineStyleTrueWidthFlag(bool bSet) {
156 }
157
158 public virtual double getLineStyleScale() {
161 return ret;
162 }
163
164 public virtual void setLineStyleScale(double dScale) {
167 }
168
169 public virtual double getLineStyleDashScale() {
172 return ret;
173 }
174
175 public virtual void setLineStyleDashScale(double dScale) {
178 }
179
180 public virtual double getLineStyleGapScale() {
183 return ret;
184 }
185
186 public virtual void setLineStyleGapScale(double dScale) {
189 }
190
191 public virtual double getLineStyleWidth() {
194 return ret;
195 }
196
197 public virtual void setLineStyleWidth(double dWidth) {
200 }
201
202 public virtual double getLineStyleEndWidth() {
205 return ret;
206 }
207
208 public virtual void setLineStyleEndWidth(double dEndWidth) {
211 }
212
213 public virtual double getLineStyleShift() {
216 return ret;
217 }
218
219 public virtual void setLineStyleShift(double dShift) {
222 }
223
224 public virtual double getLineStyleFractionPhase() {
227 return ret;
228 }
229
230 public virtual void setLineStyleFractionPhase(double dPhase) {
233 }
234
238 return ret;
239 }
240
244 }
245
249 return ret;
250 }
251
255 }
256
260 return ret;
261 }
262
266 }
267
268 public virtual bool getUseLineStyleMultilineDataFlag() {
271 return ret;
272 }
273
274 public virtual void setUseLineStyleMultilineDataFlag(bool bSet) {
277 }
278
282 return ret;
283 }
284
288 }
289
290 public virtual bool getMultilineProfileIndexes(OdUInt32Array arrIndexes) {
293 return ret;
294 }
295
296 public virtual void setMultilineProfileIndexes(OdUInt32Array arrIndexes) {
299 }
300
304 return ret;
305 }
306
307 public virtual void setGiModifiers(OdGiDgLinetypeModifiers modifiers) {
310 }
311
312 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
315 return ret;
316 }
317
323 }
324
325 public enum OdDgLsModWidthMode {
326 kLsModNoWidth = 0,
329 }
330
331 public enum OdDgLsModShiftMode {
332 kLsModNoShift = 0,
333 kLsModDistance = 1,
334 kLsModFraction = 2,
336 }
337
342 }
343
344}
345
346}
static HandleRef getCPtr(OdGiDgLinetypeModifiers obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdUInt32Array obj)
virtual void setCornerMode(OdDgLineStyleModificationLinkage.OdDgLsModCornerMode iMode)
virtual void setShiftMode(OdDgLineStyleModificationLinkage.OdDgLsModShiftMode iMode)
virtual OdDgLineStyleModificationLinkage.OdDgLsMultilineDataType getMultilineDataType()
static new OdDgLineStyleModificationLinkage createObject()
static OdDgLineStyleModificationLinkage cast(OdRxObject pObj)
virtual OdDgLineStyleModificationLinkage.OdDgLsModShiftMode getShiftMode()
override OdRxObject queryX(OdRxClass protocolClass)
virtual void setGiModifiers(OdGiDgLinetypeModifiers modifiers)
virtual void setWidthMode(OdDgLineStyleModificationLinkage.OdDgLsModWidthMode iMode)
virtual OdDgLineStyleModificationLinkage.OdDgLsModWidthMode getWidthMode()
virtual void setMultilineDataType(OdDgLineStyleModificationLinkage.OdDgLsMultilineDataType iDataType)
virtual void setMultilineProfileIndexes(OdUInt32Array arrIndexes)
static HandleRef getCPtr(OdDgLineStyleModificationLinkage obj)
virtual OdDgLineStyleModificationLinkage.OdDgLsModCornerMode getCornerMode()
virtual bool getMultilineProfileIndexes(OdUInt32Array arrIndexes)
static global::System.Exception Retrieve()
static double OdDgLineStyleModificationLinkage_getLineStyleScale(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setLineStyleDashScale(HandleRef jarg1, double jarg2)
static void OdDgLineStyleModificationLinkage_setMultilineProfileIndexes(HandleRef jarg1, IntPtr jarg2)
static double OdDgLineStyleModificationLinkage_getLineStyleWidth(HandleRef jarg1)
static bool OdDgLineStyleModificationLinkage_getUseLineStyleScaleFlag(HandleRef jarg1)
static bool OdDgLineStyleModificationLinkage_getUseLineStyleTrueWidthFlag(HandleRef jarg1)
static void delete_OdDgLineStyleModificationLinkage(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setLineStyleGapScale(HandleRef jarg1, double jarg2)
static void OdDgLineStyleModificationLinkage_setWidthMode(HandleRef jarg1, int jarg2)
static bool OdDgLineStyleModificationLinkage_getUseLineStyleGapScaleFlag(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setLineStyleFractionPhase(HandleRef jarg1, double jarg2)
static global::System.IntPtr OdDgLineStyleModificationLinkage_getGiModifiers(HandleRef jarg1)
static double OdDgLineStyleModificationLinkage_getLineStyleEndWidth(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setMultilineDataType(HandleRef jarg1, int jarg2)
static int OdDgLineStyleModificationLinkage_getShiftMode(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setCornerMode(HandleRef jarg1, int jarg2)
static void OdDgLineStyleModificationLinkage_setGiModifiers(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgLineStyleModificationLinkage_setLineStyleScale(HandleRef jarg1, double jarg2)
static void OdDgLineStyleModificationLinkage_setUseLineStyleDashScaleFlag(HandleRef jarg1, bool jarg2)
static bool OdDgLineStyleModificationLinkage_getMultilineProfileIndexes(HandleRef jarg1, IntPtr jarg2)
static void OdDgLineStyleModificationLinkage_setShiftMode(HandleRef jarg1, int jarg2)
static void OdDgLineStyleModificationLinkage_setUseLineStyleGapScaleFlag(HandleRef jarg1, bool jarg2)
static double OdDgLineStyleModificationLinkage_getLineStyleShift(HandleRef jarg1)
static IntPtr OdDgLineStyleModificationLinkage_cast(HandleRef jarg1)
static double OdDgLineStyleModificationLinkage_getLineStyleDashScale(HandleRef jarg1)
static double OdDgLineStyleModificationLinkage_getLineStyleGapScale(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setUseLineStyleMultilineDataFlag(HandleRef jarg1, bool jarg2)
static int OdDgLineStyleModificationLinkage_getCornerMode(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setUseLineStyleTrueWidthFlag(HandleRef jarg1, bool jarg2)
static bool OdDgLineStyleModificationLinkage_getUseLineStyleDashScaleFlag(HandleRef jarg1)
static int OdDgLineStyleModificationLinkage_getWidthMode(HandleRef jarg1)
static double OdDgLineStyleModificationLinkage_getLineStyleFractionPhase(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_setLineStyleWidth(HandleRef jarg1, double jarg2)
static IntPtr OdDgLineStyleModificationLinkage_createObject()
static void OdDgLineStyleModificationLinkage_setLineStyleEndWidth(HandleRef jarg1, double jarg2)
static IntPtr OdDgLineStyleModificationLinkage_isA(HandleRef jarg1)
static void OdDgLineStyleModificationLinkage_readData(HandleRef jarg1, IntPtr jarg2)
static void OdDgLineStyleModificationLinkage_setUseLineStyleScaleFlag(HandleRef jarg1, bool jarg2)
static IntPtr OdDgLineStyleModificationLinkage_desc()
static int OdDgLineStyleModificationLinkage_getMultilineDataType(HandleRef jarg1)
static bool OdDgLineStyleModificationLinkage_getUseLineStyleMultilineDataFlag(HandleRef jarg1)
static string OdDgLineStyleModificationLinkage_getRealClassName(IntPtr jarg1)
static void OdDgLineStyleModificationLinkage_setLineStyleShift(HandleRef jarg1, double jarg2)
static IntPtr OdDgLineStyleModificationLinkage_queryX(HandleRef jarg1, HandleRef jarg2)