Extended .NET SDK Documentation 2024 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
59 return ret;
60 }
61
65 }
66
70 return ret;
71 }
72
76 }
77
78 public UInt32 getTextFormatFlags() {
79// test csout
80 /*SIMPLETYPE*/
83 return ret;
84 }
85
86 public void setTextFormatFlags(UInt32 /*SIMPLETYPE*/ flags) {
87 TG_DbPINVOKE.OdDgDimTextFormat_setTextFormatFlags(swigCPtr, flags /*SIMPLETYPE*/);
89 }
90
91 public bool getAngleMeasureFlag() {
94 return ret;
95 }
96
97 public void setAngleMeasureFlag(bool val) {
100 }
101
102 public bool getAngleFormatFlag() {
105 return ret;
106 }
107
108 public void setAngleFormatFlag(bool val) {
111 }
112
116 return ret;
117 }
118
119 public void setPrimarySubUnitsFlag(bool val) {
122 }
123
124 public bool getPrimaryLabelsFlag() {
127 return ret;
128 }
129
130 public void setPrimaryLabelsFlag(bool val) {
133 }
134
138 return ret;
139 }
140
141 public void setPrimaryDelimiterFlag(bool val) {
144 }
145
146 public bool getDecimalCommaFlag() {
149 return ret;
150 }
151
152 public void setDecimalCommaFlag(bool val) {
155 }
156
157 public bool getSuperScriptLSDFlag() {
160 return ret;
161 }
162
163 public void setSuperScriptLSDFlag(bool val) {
166 }
167
168 public bool getRoundLSDFlag() {
171 return ret;
172 }
173
174 public void setRoundLSDFlag(bool val) {
177 }
178
182 return ret;
183 }
184
185 public void setOmitLeadDelimiterFlag(bool val) {
188 }
189
190 public bool getLocalFileUnitsFlag() {
193 return ret;
194 }
195
196 public void setLocalFileUnitsFlag(bool val) {
199 }
200
204 return ret;
205 }
206
207 public void setUnusedDeprecatedFlag(bool val) {
210 }
211
212 public bool getThousandSepFlag() {
215 return ret;
216 }
217
218 public void setThousandSepFlag(bool val) {
221 }
222
223 public bool getMetricSpaceFlag() {
226 return ret;
227 }
228
229 public void setMetricSpaceFlag(bool val) {
232 }
233
237 return ret;
238 }
239
240 public void setSecondarySubUnitsFlag(bool val) {
243 }
244
248 return ret;
249 }
250
251 public void setSecondaryLabelsFlag(bool val) {
254 }
255
259 return ret;
260 }
261
262 public void setSecondaryDelimiterFlag(bool val) {
265 }
266
267 public bool getRadiansFlag() {
270 return ret;
271 }
272
273 public void setRadiansFlag(bool val) {
276 }
277
281 return ret;
282 }
283
284 public void setPriAllowZeroMastFlag(bool val) {
287 }
288
292 return ret;
293 }
294
295 public void setSecAllowZeroMastFlag(bool val) {
298 }
299
303 return ret;
304 }
305
306 public void setPriSubForbidZeroMastFlag(bool val) {
309 }
310
314 return ret;
315 }
316
317 public void setSecSubForbidZeroMastFlag(bool val) {
320 }
321
325 return ret;
326 }
327
328 public void setHideAngleSecondsFlag(bool val) {
331 }
332
336 return ret;
337 }
338
342 }
343
347 return ret;
348 }
349
351 TG_DbPINVOKE.OdDgDimTextFormat_setAngleMode(swigCPtr, (int)iMode);
353 }
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 /*SIMPLETYPE*/ 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 setHideAngleSecondsFlag(bool val)
void setPrimaryAccuracy(OdDgDimTextFormat.Accuracy val)
OdDgDimTextFormat(IntPtr cPtr, bool cMemoryOwn)
void setPriAllowZeroMastFlag(bool val)
OdDgDimTextFormat.AngleValueDisplayMode getAngleMode()
void setTextFormatFlags(UInt32 flags)
OdDgDimTextFormat.Accuracy getPrimaryAccuracy()
void setSecAllowZeroMastFlag(bool val)
void setSecondaryAccuracy(OdDgDimTextFormat.Accuracy val)
static HandleRef getCPtr(OdDgDimTextFormat obj)
void setDualFormat(UInt32 uFormat)
void setSecSubForbidZeroMastFlag(bool val)
void setOmitLeadDelimiterFlag(bool val)
void setAngleMode(OdDgDimTextFormat.AngleValueDisplayMode iMode)
void setSkipNonStackedFractionSpaceFlag(bool val)
void setPrimaryDelimiterFlag(bool val)
virtual void Dispose(bool disposing)
void setSecondaryDelimiterFlag(bool val)
void setUnusedDeprecatedFlag(bool val)
void setSecondarySubUnitsFlag(bool val)
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)