Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDbSectionViewStyle.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbSectionViewStyle(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbSectionViewStyle_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbSectionViewStyle obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public static OdDbSectionViewStyle cast(OdRxObject pObj) {// OdSmartPtr<OdDbSectionViewStyle>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbSectionViewStyle ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbSectionViewStyle)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSectionViewStyle),ptr, true));
52 ret = (OdDbSectionViewStyle)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSectionViewStyle),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbSectionViewStyle)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSectionViewStyle),ptr, true);
57 }
58
60 return ret;
61}
62
63 public new static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbSectionViewStyle_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public override OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbSectionViewStyle_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public override OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDbSectionViewStyle_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDbSectionViewStyle createObject() {// OdSmartPtr<OdDbSectionViewStyle>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbSectionViewStyle ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbSectionViewStyle)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSectionViewStyle),ptr, true));
93 ret = (OdDbSectionViewStyle)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSectionViewStyle),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbSectionViewStyle)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSectionViewStyle),ptr, true);
98 }
99
101 return ret;
102}
103
109
115
121
127
133
139
145
151
157
163
169
175
181
187
193
199
205
211
217
223
229
235
241
247
253
259
265
271
277
283
284 public double bendLineLength() {
287 return ret;
288 }
289
295
296 public double endLineLength() {
299 return ret;
300 }
301
307
313
319
325
331
332 public override double viewLabelTextHeight() {
335 return ret;
336 }
337
343
344 public override double viewLabelOffset() {
347 return ret;
348 }
349
355
361
367
373
379
385
391
397
403
409
415
421
427
433
439
445
446 public double hatchScale() {
447 double ret = TD_DbPINVOKE.OdDbSectionViewStyle_hatchScale(swigCPtr);
449 return ret;
450 }
451
457
465
471
477
483
489
495
501
507
513
519
525
531
537
543
549
555
561
567
573
579
585
591
597
603
609
615
621
622 protected static string getRealClassName(IntPtr ptr) {
623 string ret = TD_DbPINVOKE.OdDbSectionViewStyle_getRealClassName(ptr /*SIMPLETYPE*/);
625 return ret;
626 }
627
633
641
642 public enum ArrowDirection {
645 }
646
647}
648
649}
static HandleRef getCPtr(OdCmTransparency obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
Definition OdRxObject.cs:21
static HandleRef getCPtr(OdRxObject obj)
Definition OdRxObject.cs:26
static HandleRef getCPtr(OdCmColor obj)
Definition OdCmColor.cs:26
static HandleRef getCPtr(OdDbDatabase obj)
static HandleRef getCPtr(OdDbField obj)
Definition OdDbField.cs:26
static HandleRef getCPtr(OdDbObjectId obj)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
OdResult setEndLineLength(double length)
OdResult setPlaneLineColor(OdCmColor color)
OdResult setHatchColor(OdCmColor color)
OdResult setHatchTransparency(OdCmTransparency transparency)
OdResult setHatchBackgroundColor(OdCmColor color)
OdDbSectionViewStyle.ArrowDirection arrowPosition()
OdResult setArrowSymbolExtensionLength(double length)
OdResult setArrowPosition(OdDbSectionViewStyle.ArrowDirection type)
OdResult setViewIdentifierPosition(OdDbSectionViewStyle.IdentifierPosition type)
OdResult setBendLineColor(OdCmColor color)
OdDbSectionViewStyle.IdentifierPosition viewIdentifierPosition()
OdResult setHatchAngles(OdGeDoubleArray angleArray)
override OdDbModelDocViewStyle.TextAlignment viewLabelAlignment()
OdResult setIdentifierExcludeCharacters(String str)
OdResult setArrowSymbolColor(OdCmColor color)
OdResult setContinuousLabeling(bool bValue)
OdResult setIdentifierHeight(double height)
OdResult setViewLabelPattern(String pattern, OdDbField pField)
OdResult setBendLineLength(double length)
OdResult setViewLabelTextHeight(double height)
OdResult setPlaneLineTypeId(OdDbObjectId objId)
OdResult setViewLabelTextStyleId(OdDbObjectId objId)
static HandleRef getCPtr(OdDbSectionViewStyle obj)
OdResult setIdentifierColor(OdCmColor color)
OdResult setBendLineWeight(LineWeight lineweight)
static new OdDbSectionViewStyle createObject()
OdResult setViewIdentifierOffset(double offset)
OdResult setArrowEndSymbolId(OdDbObjectId arrowSymbolId)
OdResult setShowEndAndBendLines(bool bValue)
override void Dispose(bool disposing)
override OdRxObject queryX(OdRxClass protocolClass)
OdResult setViewLabelOffset(double offset)
OdResult setEndLineOvershoot(double length)
OdResult setArrowStartSymbolId(OdDbObjectId arrowSymbolId)
OdResult setShowArrowheads(bool bValue)
static OdDbSectionViewStyle cast(OdRxObject pObj)
OdResult setIdentifierStyleId(OdDbObjectId objId)
OdResult setShowAllBendIndentifiers(bool bValue)
static string getRealClassName(IntPtr ptr)
OdResult setViewLabelPattern(String pattern)
String getViewLabelPattern(OdDbField pField)
OdResult setArrowSymbolSize(double size)
override OdDbObjectId viewLabelTextStyleId()
OdResult setHatchPattern(String pattern)
OdDbSectionViewStyle(IntPtr cPtr, bool cMemoryOwn)
OdResult setPlaneLineWeight(LineWeight lineweight)
override OdDbObjectId postViewStyleToDb(OdDbDatabase pDb, String styleName)
OdResult setViewLabelAlignment(OdDbModelDocViewStyle.TextAlignment alignment)
override OdDbModelDocViewStyle.AttachmentPoint viewLabelAttachment()
OdResult setViewLabelAttachment(OdDbModelDocViewStyle.AttachmentPoint attachment)
OdResult setViewLabelTextColor(OdCmColor color)
OdResult setShowAllPlaneLines(bool bValue)
OdResult setBendLineTypeId(OdDbObjectId objId)
static global::System.Exception Retrieve()
static global::System.IntPtr OdDbSectionViewStyle_hatchBackgroundColor(HandleRef jarg1)
static bool OdDbSectionViewStyle_showAllBendIndentifiers(HandleRef jarg1)
static String OdDbSectionViewStyle_viewLabelPattern(HandleRef jarg1)
static int OdDbSectionViewStyle_setViewIdentifierPosition(HandleRef jarg1, int jarg2)
static double OdDbSectionViewStyle_arrowSymbolExtensionLength(HandleRef jarg1)
static int OdDbSectionViewStyle_viewIdentifierPosition(HandleRef jarg1)
static String OdDbSectionViewStyle_getViewLabelPattern__SWIG_1(HandleRef jarg1)
static int OdDbSectionViewStyle_setContinuousLabeling(HandleRef jarg1, bool jarg2)
static IntPtr OdDbSectionViewStyle_createObject()
static bool OdDbSectionViewStyle_showViewLabel(HandleRef jarg1)
static int OdDbSectionViewStyle_viewLabelAttachment(HandleRef jarg1)
static int OdDbSectionViewStyle_planeLineWeight(HandleRef jarg1)
static global::System.IntPtr OdDbSectionViewStyle_identifierColor(HandleRef jarg1)
static IntPtr OdDbSectionViewStyle_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDbSectionViewStyle_setViewLabelTextColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setShowEndAndBendLines(HandleRef jarg1, bool jarg2)
static double OdDbSectionViewStyle_viewLabelOffset(HandleRef jarg1)
static global::System.IntPtr OdDbSectionViewStyle_postViewStyleToDb(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static bool OdDbSectionViewStyle_showHatching(HandleRef jarg1)
static string OdDbSectionViewStyle_getRealClassName(IntPtr jarg1)
static global::System.IntPtr OdDbSectionViewStyle_planeLineTypeId(HandleRef jarg1)
static int OdDbSectionViewStyle_setViewLabelAttachment(HandleRef jarg1, int jarg2)
static int OdDbSectionViewStyle_setIdentifierColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setViewLabelOffset(HandleRef jarg1, double jarg2)
static int OdDbSectionViewStyle_setPlaneLineColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setViewLabelTextHeight(HandleRef jarg1, double jarg2)
static int OdDbSectionViewStyle_setBendLineColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDbSectionViewStyle_viewIdentifierOffset(HandleRef jarg1)
static int OdDbSectionViewStyle_setShowAllBendIndentifiers(HandleRef jarg1, bool jarg2)
static double OdDbSectionViewStyle_hatchScale(HandleRef jarg1)
static double OdDbSectionViewStyle_viewLabelTextHeight(HandleRef jarg1)
static int OdDbSectionViewStyle_setBendLineLength(HandleRef jarg1, double jarg2)
static IntPtr OdDbSectionViewStyle_cast(HandleRef jarg1)
static int OdDbSectionViewStyle_setEndLineLength(HandleRef jarg1, double jarg2)
static bool OdDbSectionViewStyle_showAllPlaneLines(HandleRef jarg1)
static global::System.IntPtr OdDbSectionViewStyle_hatchAngles(HandleRef jarg1)
static String OdDbSectionViewStyle_identifierExcludeCharacters(HandleRef jarg1)
static int OdDbSectionViewStyle_viewLabelAlignment(HandleRef jarg1)
static int OdDbSectionViewStyle_setHatchAngles(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setEndLineOvershoot(HandleRef jarg1, double jarg2)
static int OdDbSectionViewStyle_setHatchColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbSectionViewStyle_bendLineColor(HandleRef jarg1)
static double OdDbSectionViewStyle_endLineLength(HandleRef jarg1)
static global::System.IntPtr OdDbSectionViewStyle_arrowStartSymbolId(HandleRef jarg1)
static int OdDbSectionViewStyle_setPlaneLineWeight(HandleRef jarg1, int jarg2)
static IntPtr OdDbSectionViewStyle_isA(HandleRef jarg1)
static int OdDbSectionViewStyle_setViewLabelAlignment(HandleRef jarg1, int jarg2)
static global::System.IntPtr OdDbSectionViewStyle_hatchTransparency(HandleRef jarg1)
static int OdDbSectionViewStyle_setIdentifierExcludeCharacters(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static String OdDbSectionViewStyle_getViewLabelPattern__SWIG_0(HandleRef jarg1, HandleRef jarg2)
static int OdDbSectionViewStyle_setHatchBackgroundColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbSectionViewStyle_bendLineTypeId(HandleRef jarg1)
static int OdDbSectionViewStyle_arrowPosition(HandleRef jarg1)
static int OdDbSectionViewStyle_setShowArrowheads(HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdDbSectionViewStyle_hatchColor(HandleRef jarg1)
static double OdDbSectionViewStyle_bendLineLength(HandleRef jarg1)
static int OdDbSectionViewStyle_setArrowSymbolExtensionLength(HandleRef jarg1, double jarg2)
static int OdDbSectionViewStyle_setPlaneLineTypeId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbSectionViewStyle_showEndAndBendLines(HandleRef jarg1)
static int OdDbSectionViewStyle_setIdentifierStyleId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setViewLabelTextStyleId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbSectionViewStyle_desc()
static global::System.IntPtr OdDbSectionViewStyle_viewLabelTextStyleId(HandleRef jarg1)
static int OdDbSectionViewStyle_setIdentifierHeight(HandleRef jarg1, double jarg2)
static bool OdDbSectionViewStyle_isContinuousLabeling(HandleRef jarg1)
static global::System.IntPtr OdDbSectionViewStyle_identifierStyleId(HandleRef jarg1)
static double OdDbSectionViewStyle_endLineOvershoot(HandleRef jarg1)
static void delete_OdDbSectionViewStyle(HandleRef jarg1)
static int OdDbSectionViewStyle_setArrowEndSymbolId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setViewLabelPattern__SWIG_1(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static int OdDbSectionViewStyle_setBendLineWeight(HandleRef jarg1, int jarg2)
static int OdDbSectionViewStyle_setShowAllPlaneLines(HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdDbSectionViewStyle_planeLineColor(HandleRef jarg1)
static int OdDbSectionViewStyle_setHatchPattern(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static global::System.IntPtr OdDbSectionViewStyle_arrowSymbolColor(HandleRef jarg1)
static int OdDbSectionViewStyle_setViewLabelPattern__SWIG_0(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, HandleRef jarg3)
static int OdDbSectionViewStyle_setArrowStartSymbolId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setBendLineTypeId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static String OdDbSectionViewStyle_hatchPattern(HandleRef jarg1)
static int OdDbSectionViewStyle_setViewIdentifierOffset(HandleRef jarg1, double jarg2)
static int OdDbSectionViewStyle_setArrowSymbolColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDbSectionViewStyle_identifierHeight(HandleRef jarg1)
static double OdDbSectionViewStyle_arrowSymbolSize(HandleRef jarg1)
static int OdDbSectionViewStyle_setHatchTransparency(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSectionViewStyle_setHatchScale(HandleRef jarg1, double jarg2)
static bool OdDbSectionViewStyle_showArrowheads(HandleRef jarg1)
static global::System.IntPtr OdDbSectionViewStyle_viewLabelTextColor(HandleRef jarg1)
static int OdDbSectionViewStyle_setArrowSymbolSize(HandleRef jarg1, double jarg2)
static int OdDbSectionViewStyle_setArrowPosition(HandleRef jarg1, int jarg2)
static int OdDbSectionViewStyle_setShowHatching(HandleRef jarg1, bool jarg2)
static int OdDbSectionViewStyle_bendLineWeight(HandleRef jarg1)
static global::System.IntPtr OdDbSectionViewStyle_arrowEndSymbolId(HandleRef jarg1)
static int OdDbSectionViewStyle_setShowViewLabel(HandleRef jarg1, bool jarg2)