Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDgDimTextInfo.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 OdDgDimTextInfo : 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 OdDgDimTextInfo(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(OdDgDimTextInfo 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 OdDgDimTextInfo() : this(TG_DbPINVOKE.new_OdDgDimTextInfo(), true) {
54 }
55
60
61 public double getWidth() {
62 double ret = TG_DbPINVOKE.OdDgDimTextInfo_getWidth(swigCPtr);
64 return ret;
65 }
66
67 public double getHeight() {
68 double ret = TG_DbPINVOKE.OdDgDimTextInfo_getHeight(swigCPtr);
70 return ret;
71 }
72
73 public UInt32 getFontEntryId() {
74// test csout
75 /*SIMPLETYPE*/
76 UInt32 ret = TG_DbPINVOKE.OdDgDimTextInfo_getFontEntryId(swigCPtr);
78 return ret;
79 }
80
81 public UInt32 getColorIndex() {
82// test csout
83 /*SIMPLETYPE*/
84 UInt32 ret = TG_DbPINVOKE.OdDgDimTextInfo_getColorIndex(swigCPtr);
86 return ret;
87 }
88
89 public UInt32 getWeight() {
90// test csout
91 /*SIMPLETYPE*/
92 UInt32 ret = TG_DbPINVOKE.OdDgDimTextInfo_getWeight(swigCPtr);
94 return ret;
95 }
96
97 public void setWidth(double dWidth) {
98 TG_DbPINVOKE.OdDgDimTextInfo_setWidth(swigCPtr, dWidth);
100 }
101
102 public void setHeight(double dHeight) {
103 TG_DbPINVOKE.OdDgDimTextInfo_setHeight(swigCPtr, dHeight);
105 }
106
107 public void setFontEntryId(UInt32 id) {
108 TG_DbPINVOKE.OdDgDimTextInfo_setFontEntryId(swigCPtr, id /*SIMPLETYPE*/);
110 }
111
112 public void setColorIndex(UInt32 color) {
113 TG_DbPINVOKE.OdDgDimTextInfo_setColorIndex(swigCPtr, color /*SIMPLETYPE*/);
115 }
116
117 public void setWeight(UInt32 dWeight) {
118 TG_DbPINVOKE.OdDgDimTextInfo_setWeight(swigCPtr, dWeight /*SIMPLETYPE*/);
120 }
121
122 public UInt16 getTextFlags() {
123// test csout
124 /*SIMPLETYPE*/
125 UInt16 ret = TG_DbPINVOKE.OdDgDimTextInfo_getTextFlags(swigCPtr);
127 return ret;
128 }
129
130 public void setTextFlags(UInt16 flags) {
131 TG_DbPINVOKE.OdDgDimTextInfo_setTextFlags(swigCPtr, flags /*SIMPLETYPE*/);
133 }
134
140
145
151
156
162
167
173
178
184
189
195
200
206
211
217
222
223 public enum TextLocation {
228 }
229
237
238 public enum TextRotation {
240 kVertical,
241 kInline
242 }
243
254
260
266
272
273}
274
275}
void setWeight(UInt32 dWeight)
OdDgDimTextInfo.StackFractionAlignment getStackFractAlignment()
void setPrimaryNoMasterUnitsFlag(bool val)
void setStackFractAlignment(OdDgDimTextInfo.StackFractionAlignment val)
virtual void Dispose(bool disposing)
void setWidth(double dWidth)
void setSecNoMasterUnitsFlag(bool val)
void setStackedFractionType(OdDgDimTextInfo.StackedFractionType val)
OdDgDimTextInfo.StackedFractionType getStackedFractionType()
void setTextFlags(UInt16 flags)
void setHasSecAltFormatFlag(bool val)
OdDgDimTextInfo(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdDgDimTextInfo obj)
void setColorIndex(UInt32 color)
void setHeight(double dHeight)
void setHasAltFormatFlag(bool val)
static global::System.Exception Retrieve()
static double OdDgDimTextInfo_getWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextInfo_getHasAltFormatFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextInfo_getHasSecAltFormatFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setStackFractAlignment(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static double OdDgDimTextInfo_getHeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setSecNoMasterUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextInfo_setWeight(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgDimTextInfo_setFontEntryId(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static int OdDgDimTextInfo_getStackedFractionType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setHasAltFormatFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextInfo_setColorIndex(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgDimTextInfo_setStackedFractionType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdDgDimTextInfo_getStackFractAlignment(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setTextFlags(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static UInt16 OdDgDimTextInfo_getTextFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setWidth(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_OdDgDimTextInfo(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setHeight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static UInt32 OdDgDimTextInfo_getColorIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextInfo_getUseColorFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setHasSecAltFormatFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgDimTextInfo_getWeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextInfo_getSecNoMasterUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimTextInfo_getPrimaryNoMasterUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setPrimaryNoMasterUnitsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimTextInfo_getUseWeightFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimTextInfo_setUseColorFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextInfo_setUseWeightFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimTextInfo_setDefaultValues(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgDimTextInfo_getFontEntryId(global::System.Runtime.InteropServices.HandleRef jarg1)