Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdTextProperties.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdTextProperties : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdTextProperties(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdTextProperties obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public double m_trackingPercent {
52 set {
55 }
56 get {
59 return ret;
60 }
61 }
62
63 public UInt16 m_flags {
64 set {
65 /*SIMPLETYPE*/
66 GlobalsPINVOKE.OdTextProperties_m_flags_set(swigCPtr, value /*SIMPLETYPE*/);
68 }
69 get {
70 /*SIMPLETYPE*/
71 UInt16 ret = GlobalsPINVOKE.OdTextProperties_m_flags_get(swigCPtr);
73 return ret;
74 }
75 }
76
77 public UInt16 m_textQuality {
78 set {
79 /*SIMPLETYPE*/
82 }
83 get {
84 /*SIMPLETYPE*/
87 return ret;
88 }
89 }
90
91 public char m_prevChar {
92 set {
93 /*SIMPLETYPE*/
96 }
97 get {
98 /*SIMPLETYPE*/
101 return ret;
102 }
103 }
104
105 public OdTextProperties() : this(GlobalsPINVOKE.new_OdTextProperties(), true) {
107 }
108
109 public bool isNormalText() {
112 return ret;
113 }
114
115 public void setNormalText(bool value) {
118 }
119
120 public bool isVerticalText() {
123 return ret;
124 }
125
126 public void setVerticalText(bool value) {
129 }
130
131 public bool isUnderlined() {
134 return ret;
135 }
136
137 public void setUnderlined(bool value) {
140 }
141
142 public bool isOverlined() {
143 bool ret = GlobalsPINVOKE.OdTextProperties_isOverlined(swigCPtr);
145 return ret;
146 }
147
148 public void setOverlined(bool value) {
151 }
152
153 public bool isStriked() {
154 bool ret = GlobalsPINVOKE.OdTextProperties_isStriked(swigCPtr);
156 return ret;
157 }
158
159 public void setStriked(bool value) {
162 }
163
164 public bool isLastChar() {
165 bool ret = GlobalsPINVOKE.OdTextProperties_isLastChar(swigCPtr);
167 return ret;
168 }
169
170 public void setLastChar(bool value) {
173 }
174
175 public bool isInBigFont() {
176 bool ret = GlobalsPINVOKE.OdTextProperties_isInBigFont(swigCPtr);
178 return ret;
179 }
180
181 public void setInBigFont(bool value) {
184 }
185
186 public bool isIncludePenups() {
189 return ret;
190 }
191
192 public void setIncludePenups(bool value) {
195 }
196
197 public bool isZeroNormals() {
200 return ret;
201 }
202
203 public void setZeroNormals(bool value) {
206 }
207
208 public bool ttfPolyDraw() {
209 bool ret = GlobalsPINVOKE.OdTextProperties_ttfPolyDraw(swigCPtr);
211 return ret;
212 }
213
214 public void setTtfPolyDraw(bool bFlag) {
217 }
218
219 public double trackingPercent() {
222 return ret;
223 }
224
228 }
229
230 public UInt32 textQuality() {
231// test csout
232 /*SIMPLETYPE*/
233 UInt32 ret = GlobalsPINVOKE.OdTextProperties_textQuality(swigCPtr);
235 return ret;
236 }
237
238 public void setTextQuality(UInt32 /*SIMPLETYPE*/ val) {
239 GlobalsPINVOKE.OdTextProperties_setTextQuality(swigCPtr, val /*SIMPLETYPE*/);
241 }
242
243 public bool isTriangleCache() {
246 return ret;
247 }
248
249 public void setSetTriangleCache(bool value) {
252 }
253
254 public bool isLastPosOnly() {
257 return ret;
258 }
259
260 public void setLastPosOnly(bool value) {
263 }
264
265 public bool isGlyph() {
266 bool ret = GlobalsPINVOKE.OdTextProperties_isGlyph(swigCPtr);
268 return ret;
269 }
270
271 public void setGlyph(bool value) {
274 }
275
276 public const int kNormalText = 0x01;
277 public const int kVerticalText = 0x02;
278 public const int kUnderlined = 0x04;
279 public const int kOverlined = 0x08;
280 public const int kLastChar = 0x10;
281 public const int kInBigFont = 0x20;
282 public const int kInclPenups = 0x40;
283 public const int kZeroNormals = 0x80;
284 public const int kBezierCurves = 0x100;
285 public const int kStriked = 0x200;
286 public const int kLastPosOnly = 0x400;
287 public const int kTriangleCache = 0x800;
288 public const int kIsGlyph = 0x1000;
289 public const int kExtentsCalculation = 0x4000;
290
291}
292
293}
static global::System.Exception Retrieve()
static void OdTextProperties_setTrackingPercent(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdTextProperties_setLastChar(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_setZeroNormals(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdTextProperties_isOverlined(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTextProperties_isInBigFont(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_setOverlined(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_m_prevChar_set(global::System.Runtime.InteropServices.HandleRef jarg1, char jarg2)
static bool OdTextProperties_isLastPosOnly(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_m_textQuality_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static UInt16 OdTextProperties_m_textQuality_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdTextProperties_m_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTextProperties_isIncludePenups(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdTextProperties_textQuality(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_m_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static bool OdTextProperties_isVerticalText(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_setVerticalText(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_m_trackingPercent_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdTextProperties_isLastChar(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTextProperties_isTriangleCache(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTextProperties_isGlyph(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_setSetTriangleCache(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_setIncludePenups(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_setNormalText(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdTextProperties_isZeroNormals(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTextProperties_isStriked(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_setTextQuality(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdTextProperties_setStriked(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_setLastPosOnly(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_setGlyph(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdTextProperties_isNormalText(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTextProperties_ttfPolyDraw(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_setUnderlined(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdTextProperties_setTtfPolyDraw(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdTextProperties_isUnderlined(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdTextProperties_trackingPercent(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdTextProperties(global::System.Runtime.InteropServices.HandleRef jarg1)
static char OdTextProperties_m_prevChar_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTextProperties_setInBigFont(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdTextProperties_m_trackingPercent_get(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void Dispose(bool disposing)
void setSetTriangleCache(bool value)
OdTextProperties(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdTextProperties obj)
void setTrackingPercent(double trackingPercent)