Extended .NET SDK Documentation 2025 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
119
124
130
135
141
146
152
157
163
168
174
179
185
190
196
201
207
212
218
223
229
234
240
245
251
256
262
267
273
278
284
289
295
300
306
311
312 protected static string getRealClassName(IntPtr ptr) {
315 return ret;
316 }
317
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
343
344}
345
346}
static HandleRef getCPtr(OdGiDgLinetypeModifiers obj)
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
Definition OdRxObject.cs:21
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)