Extended .NET SDK Documentation 2025 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
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
114
119
125
130
136
141
147
152
153 public bool isStriked() {
154 bool ret = GlobalsPINVOKE.OdTextProperties_isStriked(swigCPtr);
156 return ret;
157 }
158
163
164 public bool isLastChar() {
165 bool ret = GlobalsPINVOKE.OdTextProperties_isLastChar(swigCPtr);
167 return ret;
168 }
169
174
180
185
191
196
202
207
213
218
224
229
230 public UInt32 textQuality() {
231// test csout
232 /*SIMPLETYPE*/
233 UInt32 ret = GlobalsPINVOKE.OdTextProperties_textQuality(swigCPtr);
235 return ret;
236 }
237
242
248
253
259
264
265 public bool isGlyph() {
266 bool ret = GlobalsPINVOKE.OdTextProperties_isGlyph(swigCPtr);
268 return ret;
269 }
270
275
281
286
287 public const int kNormalText = 0x01;
288 public const int kVerticalText = 0x02;
289 public const int kUnderlined = 0x04;
290 public const int kOverlined = 0x08;
291 public const int kLastChar = 0x10;
292 public const int kInBigFont = 0x20;
293 public const int kInclPenups = 0x40;
294 public const int kZeroNormals = 0x80;
295 public const int kBezierCurves = 0x100;
296 public const int kStriked = 0x200;
297 public const int kLastPosOnly = 0x400;
298 public const int kTriangleCache = 0x800;
299 public const int kIsGlyph = 0x1000;
300 public const int kForMTextExtents = 0x2000;
301 public const int kExtentsCalculation = 0x4000;
302
303}
304
305}
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_isForMTextExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
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_setForMTextExtents(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)
OdTextProperties(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdTextProperties obj)
void setTrackingPercent(double trackingPercent)