Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxDocument.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxDocument : OdRxObject {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxDocument(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxDocument_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxDocument obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
49
50 public new static OdRxClass desc() {
51 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxDocument_desc(),false); /*createInt 3_2*/
52
54 return ret;
55}
56
57 public override OdRxClass isA() {
58 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxDocument_isA(swigCPtr),false); /*createInt 3_2*/
59
61 return ret;
62}
63
64 public override OdRxObject queryX(OdRxClass protocolClass) {
65 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),PCADGlobalsPINVOKE.CFxDocument_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
66
68 return ret;
69}
70
76
78 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxDisplayDevice(swigCPtr);
79 CFxDisplayDevice ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxDisplayDevice(cPtr, false);
81 return ret;
82 }
83
84 public virtual CFxDatabase GetFxDatabase() {
85 CFxDatabase ret = (CFxDatabase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxDatabase),PCADGlobalsPINVOKE.CFxDocument_GetFxDatabase__SWIG_0(swigCPtr),false); /*createInt 3_2*/
86
88 return ret;
89}
90
91 public virtual CFxAPI GetFxAPI() {
92 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxAPI(swigCPtr);
93 CFxAPI ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxAPI(cPtr, false);
95 return ret;
96 }
97
98 public virtual CFxUserIO GetFxUserIO() {
99 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxUserIO(swigCPtr);
100 CFxUserIO ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUserIO(cPtr, false);
102 return ret;
103 }
104
105 public virtual CFxView GetActiveFxView() {
106 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetActiveFxView(swigCPtr);
107 CFxView ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxView(cPtr, false);
109 return ret;
110 }
111
113 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxMainSelectionSet(swigCPtr);
114 CFxSelectionSet ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxSelectionSet(cPtr, false);
116 return ret;
117 }
118
120 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxWorkingSelectionSet(swigCPtr);
121 CFxSelectionSet ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxSelectionSet(cPtr, false);
123 return ret;
124 }
125
126 public virtual CFxSelectionSet CreateSelectionSet(bool bRegenAbortAllowed, bool bSubEntitySelect) {
127 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_CreateSelectionSet__SWIG_0(swigCPtr, bRegenAbortAllowed, bSubEntitySelect);
128 CFxSelectionSet ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxSelectionSet(cPtr, false);
130 return ret;
131 }
132
133 public virtual CFxSelectionSet CreateSelectionSet(bool bRegenAbortAllowed) {
134 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_CreateSelectionSet__SWIG_1(swigCPtr, bRegenAbortAllowed);
135 CFxSelectionSet ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxSelectionSet(cPtr, false);
137 return ret;
138 }
139
141 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxInputPointManager(swigCPtr);
142 CFxInputPointManager ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxInputPointManager(cPtr, false);
144 return ret;
145 }
146
152
158
163
164 public virtual IntPtr GetOverallWindowHandle() {
165// test csout
166 /*SIMPLETYPE*/
169 return ret;
170 }
171
172 public virtual IntPtr GetDocumentWindowHandle() {
173// test csout
174 /*SIMPLETYPE*/
177 return ret;
178 }
179
181 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxScriptEngine(swigCPtr);
182 CFxScriptEngine ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxScriptEngine(cPtr, false);
184 return ret;
185 }
186
188 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxDocument_GetFxCommandContext(swigCPtr);
189 CFxCommandContext ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxCommandContext(cPtr, false);
191 return ret;
192 }
193
194 public virtual UInt16 GetFxNumber() {
195// test csout
196 /*SIMPLETYPE*/
197 UInt16 ret = PCADGlobalsPINVOKE.CFxDocument_GetFxNumber(swigCPtr);
199 return ret;
200 }
201
207
213
219
225
231
232 public virtual bool IsValid() {
233 bool ret = PCADGlobalsPINVOKE.CFxDocument_IsValid(swigCPtr);
235 return ret;
236 }
237
242
247
253
259
260}
261
262}
static HandleRef getCPtr(CFxDatabase obj)
virtual bool IsInsideDragSelectSequence()
virtual bool IsInsideDragDropSequence()
static HandleRef getCPtr(CFxDocument obj)
virtual bool IsBEditActive()
virtual CFxHistoryObjectArray GetHistory()
virtual CFxDatabase GetFxDatabase()
virtual void ShrinkMemory()
virtual bool IsInsideEntsel()
virtual IntPtr GetOverallWindowHandle()
virtual CFxDisplayDevice GetFxDisplayDevice()
virtual CFxSelectionSet GetFxMainSelectionSet()
virtual CFxScriptEngine GetFxScriptEngine()
override OdRxClass isA()
virtual CFxSelectionSet GetFxWorkingSelectionSet()
static SWIGTYPE_p_OdSmartPtrT_CFxDocument_t createObject()
virtual CFxString GetCommandWindowHistory()
override OdRxObject queryX(OdRxClass protocolClass)
virtual CFxAPI GetFxAPI()
virtual CFxView GetActiveFxView()
virtual IntPtr GetDocumentWindowHandle()
virtual bool IsInsideNEntsel()
virtual UInt16 GetFxNumber()
CFxDocument(IntPtr cPtr, bool cMemoryOwn)
virtual CFxCommandContext GetFxCommandContext()
override void Dispose(bool disposing)
virtual CFxSelectionSet CreateSelectionSet(bool bRegenAbortAllowed, bool bSubEntitySelect)
virtual CFxInputPointManager GetFxInputPointManager()
static SWIGTYPE_p_OdSmartPtrT_CFxDocument_t cast(OdRxObject pObj)
virtual void AttachDatabase(CFxDatabase pDatabase)
virtual bool IsInsideSelect()
virtual CFxSelectionSet CreateSelectionSet(bool bRegenAbortAllowed)
virtual bool IsRefeditActive()
virtual CFxUserIO GetFxUserIO()
static new OdRxClass desc()
static IntPtr CFxDocument_isA(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxDocument_desc()
static bool CFxDocument_IsRefeditActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetFxWorkingSelectionSet(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxDocument_IsBEditActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxDocument_queryX(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr CFxDocument_GetFxAPI(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetFxInputPointManager(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_cast(HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetFxMainSelectionSet(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxDocument_IsInsideSelect(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetFxDisplayDevice(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetFxScriptEngine(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxDocument_GetFxDatabase__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxDocument_AttachDatabase(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr CFxDocument_CreateSelectionSet__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3)
static void CFxDocument_ShrinkMemory(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxDocument_IsInsideDragDropSequence(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetFxUserIO(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_createObject()
static void CFxDocument_Redraw(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetCommandWindowHistory(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxDocument_IsInsideDragSelectSequence(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxDocument_IsValid(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxDocument_GetDocumentWindowHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxDocument(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxDocument_GetOverallWindowHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetHistory(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetActiveFxView(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 CFxDocument_GetFxNumber(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxDocument_IsInsideEntsel(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxDocument_IsInsideNEntsel(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_GetFxCommandContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxDocument_CreateSelectionSet__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
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