Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
LineStats.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 LineStats : 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 LineStats(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(LineStats obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~LineStats() {
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
74
86
98
99 public double m_MinX {
100 set {
103 }
104 get {
105 double ret = GlobalsPINVOKE.LineStats_m_MinX_get(swigCPtr);
107 return ret;
108 }
109 }
110
111 public double m_MaxX {
112 set {
115 }
116 get {
117 double ret = GlobalsPINVOKE.LineStats_m_MaxX_get(swigCPtr);
119 return ret;
120 }
121 }
122
134
146
158
170
182
183 public LineStats(double h, double mts, double w) : this(GlobalsPINVOKE.new_LineStats__SWIG_0(h, mts, w), true) {
185 }
186
187 public LineStats(double h, double mts) : this(GlobalsPINVOKE.new_LineStats__SWIG_1(h, mts), true) {
189 }
190
191 public LineStats(double h) : this(GlobalsPINVOKE.new_LineStats__SWIG_2(h), true) {
193 }
194
195 public LineStats() : this(GlobalsPINVOKE.new_LineStats__SWIG_3(), true) {
197 }
198
199 public virtual double getHeightForAligned(int linespacingStyle) {
200 double ret = GlobalsPINVOKE.LineStats_getHeightForAligned(swigCPtr, linespacingStyle);
202 return ret;
203 }
204
205 public virtual double caclulateLineSpace(double linespacingFactor) {
206 double ret = GlobalsPINVOKE.LineStats_caclulateLineSpace(swigCPtr, linespacingFactor);
208 return ret;
209 }
210
211}
212
213}
static global::System.Exception Retrieve()
static double LineStats_m_MaxX_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_getHeightForAligned(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_LineStats(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_TextSizeForLinespace_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_caclulateLineSpace(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_MinX_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_Width_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_MaxX_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_MinY_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_Width_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_TextSizeForLinespace_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_Height_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_TextSizeMaxY_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_MaxTextSize_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_Height_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_MinY_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_MaxY_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_StackedHeight_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_LastWordHeight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_MinX_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_MaxY_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_StackedHeight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_LastWordHeight_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_TextSizeMaxY_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_MaxTextSize_get(global::System.Runtime.InteropServices.HandleRef jarg1)
LineStats(IntPtr cPtr, bool cMemoryOwn)
Definition LineStats.cs:21
virtual double caclulateLineSpace(double linespacingFactor)
Definition LineStats.cs:205
LineStats(double h, double mts)
Definition LineStats.cs:187
virtual void Dispose(bool disposing)
Definition LineStats.cs:39
virtual double getHeightForAligned(int linespacingStyle)
Definition LineStats.cs:199
static HandleRef getCPtr(LineStats obj)
Definition LineStats.cs:26
LineStats(double h, double mts, double w)
Definition LineStats.cs:183
double m_TextSizeForLinespace
Definition LineStats.cs:171