Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDgDimTool.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 OdDgDimTool : 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 OdDgDimTool(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(OdDgDimTool obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~OdDgDimTool() {
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
57
62
68
73
79
84
85 public virtual bool getCenterMarkFlag() {
88 return ret;
89 }
90
95
101
106
112
117
123
128
134
139
140 public virtual bool getArcSymbolFlag() {
141 bool ret = TG_DbPINVOKE.OdDgDimTool_getArcSymbolFlag(swigCPtr);
143 return ret;
144 }
145
150
151 public virtual bool getChordAlignFlag() {
152 bool ret = TG_DbPINVOKE.OdDgDimTool_getChordAlignFlag(swigCPtr);
154 return ret;
155 }
156
161
167
172
178
183
189
194
200
205
211
216
222
227
233
238
244
249
255
260
261 public virtual double getDatumValue() {
262 double ret = TG_DbPINVOKE.OdDgDimTool_getDatumValue(swigCPtr);
264 return ret;
265 }
266
271
277
282
283 public enum Leader {
284 kRadius = 0,
285 kRadiusExt1 = 1,
286 kRadiusExt2 = 2,
287 kDiameter = 3
288 }
289
290 public enum CustomSymbol {
291 kCsNone = 0,
292 kCsDiameter = 1,
293 kCsRadius = 2,
294 kCsSquare = 3,
295 kCsSR = 4,
296 kCsSDiameter = 5
297 }
298
299 public enum TextType {
300 kStandard = 0,
301 kVertical = 1,
302 kMixed = 2
303 }
304
305 public enum TerminatorType {
306 kTtNone = 0,
307 kTtArrow = 1,
308 kTtStroke = 2,
309 kTtCircle = 3,
311 }
312
313}
314
315}
virtual void setArcSymbolFlag(bool val)
virtual void setPrefix(OdDgDimTool.CustomSymbol val)
virtual void setFirstTerminator(OdDgDimTool.TerminatorType val)
virtual bool getDecrementInReverseDirectionFlag()
virtual void setTextType(OdDgDimTool.TextType val)
virtual bool getChordAlignFlag()
virtual bool getCenterMarkTopExtendFlag()
virtual void setCenterMarkBottomExtendFlag(bool val)
virtual void setLeader(OdDgDimTool.Leader val)
virtual bool getCenterMarkFlag()
virtual bool getRightExtLinesPresentFlag()
virtual OdDgDimTool.TerminatorType getRightTerminator()
virtual void setSuffix(OdDgDimTool.CustomSymbol val)
virtual OdDgDimTool.TerminatorType getJointTerminator()
virtual void setChordAlignFlag(bool val)
virtual void setLeftExtLinesPresentFlag(bool val)
virtual void setRightExtLinesPresentFlag(bool val)
static HandleRef getCPtr(OdDgDimTool obj)
virtual void setCenterMarkLeftExtendFlag(bool val)
virtual OdDgDimTool.Leader getLeader()
virtual void Dispose(bool disposing)
virtual bool getFreeLocationOfTxtFlag()
virtual OdDgDimTool.TerminatorType getLeftTerminator()
virtual OdDgDimTool.CustomSymbol getPrefix()
virtual double getDatumValue()
virtual bool getCenterMarkLeftExtendFlag()
virtual void setFreeLocationOfTxtFlag(bool val)
OdDgDimTool(IntPtr cPtr, bool cMemoryOwn)
virtual void setRightTerminator(OdDgDimTool.TerminatorType val)
virtual void setCenterMarkRightExtendFlag(bool val)
virtual bool getCenterMarkBottomExtendFlag()
virtual bool getLeftExtLinesPresentFlag()
virtual bool getCenterMarkRightExtendFlag()
virtual bool getStackExtLinesFlag()
virtual void setCenterMarkTopExtendFlag(bool val)
virtual void setDatumValue(double val)
virtual OdDgDimTool.TerminatorType getFirstTerminator()
virtual void setLeftTerminator(OdDgDimTool.TerminatorType val)
virtual void setDecrementInReverseDirectionFlag(bool val)
virtual void setCenterMarkFlag(bool val)
virtual void setJointTerminator(OdDgDimTool.TerminatorType val)
virtual void setStackExtLinesFlag(bool val)
virtual OdDgDimTool.TextType getTextType()
virtual bool getArcSymbolFlag()
virtual OdDgDimTool.CustomSymbol getSuffix()
static global::System.Exception Retrieve()
static void OdDgDimTool_setChordAlignFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTool_getCenterMarkFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTool_getFreeLocationOfTxtFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setCenterMarkTopExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setCenterMarkLeftExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTool_getArcSymbolFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setPrefix(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdDgDimTool_getLeader(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setJointTerminator(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDgDimTool_getRightExtLinesPresentFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTool_getCenterMarkTopExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgDimTool_getFirstTerminator(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setArcSymbolFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setCenterMarkRightExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_OdDgDimTool(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgDimTool_getSuffix(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgDimTool_getLeftTerminator(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTool_getDecrementInReverseDirectionFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setCenterMarkFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setDecrementInReverseDirectionFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setRightExtLinesPresentFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setTextType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgDimTool_setLeftExtLinesPresentFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setLeader(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdDgDimTool_getPrefix(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setFreeLocationOfTxtFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTool_getStackExtLinesFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setRightTerminator(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDgDimTool_getChordAlignFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setSuffix(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgDimTool_setLeftTerminator(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDgDimTool_getCenterMarkLeftExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgDimTool_getJointTerminator(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTool_getCenterMarkBottomExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTool_getLeftExtLinesPresentFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgDimTool_getTextType(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgDimTool_getRightTerminator(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTool_getCenterMarkRightExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgDimTool_getDatumValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTool_setStackExtLinesFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setCenterMarkBottomExtendFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTool_setFirstTerminator(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgDimTool_setDatumValue(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)