Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDgDimTextFormat.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 OdDgDimTextFormat : 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 OdDgDimTextFormat(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(OdDgDimTextFormat 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 OdDgDimTextFormat() : this(TG_DbPINVOKE.new_OdDgDimTextFormat(), true) {
54 }
55
61
66
72
77
78 public UInt32 getTextFormatFlags() {
79// test csout
80 /*SIMPLETYPE*/
83 return ret;
84 }
85
90
96
101
107
112
118
123
129
134
140
145
151
156
162
167
173
178
184
189
195
200
206
211
217
222
228
233
239
244
250
255
261
266
272
277
283
288
294
299
305
310
316
321
327
332
338
343
349
354
355 public UInt32 getDualFormat() {
356// test csout
357 /*SIMPLETYPE*/
358 UInt32 ret = TG_DbPINVOKE.OdDgDimTextFormat_getDualFormat(swigCPtr);
360 return ret;
361 }
362
363 public void setDualFormat(UInt32 uFormat) {
364 TG_DbPINVOKE.OdDgDimTextFormat_setDualFormat(swigCPtr, uFormat /*SIMPLETYPE*/);
366 }
367
369 kAngle_D = 0,
370 kAngle_DM = 1,
371 kAngle_DMS = 2,
372 kAngle_C = 3,
373 kAngle_Radian = 4
374 }
375
376 public enum LabelDisplayMode {
377 kMu = 0x00,
378 kMuLabel = 0x02,
379 kMuLabelSuLabel = 0x03,
380 kMu_Su = 0x05,
381 kMuLabel_SuLabel = 0x07,
382 kSu = 0x09,
383 kSuLabel = 0x0B
384 }
385
386 public enum Accuracy {
387 kAccuracyNone = 0x00,
388 kDecimal1 = 0x81,
389 kDecimal2 = 0x82,
390 kDecimal3 = 0x84,
391 kDecimal4 = 0x88,
392 kDecimal5 = 0x90,
393 kDecimal6 = 0xA0,
394 kDecimal7 = 0xC0,
395 kDecimal8 = 0x80,
396 kFractional2 = 0x01,
397 kFractional4 = 0x02,
398 kFractional8 = 0x04,
399 kFractional16 = 0x08,
400 kFractional32 = 0x10,
401 kFractional64 = 0x20,
402 kExponential1 = 0x40,
403 kExponential2 = 0x41,
404 kExponential3 = 0x42,
405 kExponential4 = 0x43,
406 kExponential5 = 0x44,
407 kExponential6 = 0x45,
408 kExponential7 = 0x46,
409 kExponential8 = 0x47
410 }
411
412}
413
414}
OdDgDimTextFormat.Accuracy getSecondaryAccuracy()
void setPriSubForbidZeroMastFlag(bool val)
void setPrimaryAccuracy(OdDgDimTextFormat.Accuracy val)
OdDgDimTextFormat(IntPtr cPtr, bool cMemoryOwn)
OdDgDimTextFormat.AngleValueDisplayMode getAngleMode()
void setTextFormatFlags(UInt32 flags)
OdDgDimTextFormat.Accuracy getPrimaryAccuracy()
void setSecondaryAccuracy(OdDgDimTextFormat.Accuracy val)
static HandleRef getCPtr(OdDgDimTextFormat obj)
void setDualFormat(UInt32 uFormat)
void setSecSubForbidZeroMastFlag(bool val)
void setAngleMode(OdDgDimTextFormat.AngleValueDisplayMode iMode)
void setSkipNonStackedFractionSpaceFlag(bool val)
virtual void Dispose(bool disposing)
static global::System.Exception Retrieve()
static void OdDgDimTextFormat_setAngleFormatFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setRadiansFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setTextFormatFlags(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgDimTextFormat_setRoundLSDFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setPrimaryLabelsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getRadiansFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setSecondaryDelimiterFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdDgDimTextFormat_getAngleMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getHideAngleSecondsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getUnusedDeprecatedFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getSecondaryLabelsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setThousandSepFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setPrimaryDelimiterFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getAngleMeasureFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setSecondarySubUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setHideAngleSecondsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setSuperScriptLSDFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getPrimarySubUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getPriAllowZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setPrimaryAccuracy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDgDimTextFormat_getPrimaryDelimiterFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getSecSubForbidZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getPrimaryLabelsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getSecondaryDelimiterFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setSecondaryAccuracy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDgDimTextFormat_getRoundLSDFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getSuperScriptLSDFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgDimTextFormat_getSecondaryAccuracy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setPriSubForbidZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getSecondarySubUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setAngleMeasureFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgDimTextFormat_getDualFormat(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setSecAllowZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setSecondaryLabelsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getLocalFileUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getAngleFormatFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setPriAllowZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setAngleMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_OdDgDimTextFormat(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setDecimalCommaFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setMetricSpaceFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setSecSubForbidZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getSkipNonStackedFractionSpaceFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getThousandSepFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getSecAllowZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setPrimarySubUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgDimTextFormat_getTextFormatFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setOmitLeadDelimiterFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getDecimalCommaFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getOmitLeadDelimiterFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextFormat_getPriSubForbidZeroMastFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setDualFormat(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgDimTextFormat_setUnusedDeprecatedFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextFormat_setSkipNonStackedFractionSpaceFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextFormat_getMetricSpaceFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextFormat_setLocalFileUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdDgDimTextFormat_getPrimaryAccuracy(global::System.Runtime.InteropServices.HandleRef jarg1)