Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxUIImageItem.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 CFxUIImageItem : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxUIImageItem(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxUIImageItem obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 if (swigCPtr.Handle != IntPtr.Zero)
43 {
44 if (swigCMemOwn)
45 {
46 lock (locker)//(this)
47 {
48 if ((swigCPtr.Handle != IntPtr.Zero) && (swigCMemOwn))
49 {
50 swigCMemOwn = false;
51 throw new MethodAccessException("C++ destructor does not have public access");
52 }
53 }
54 swigCMemOwn = false;
55 }
56 swigCPtr = new HandleRef(null, IntPtr.Zero);
57 }
58 GC.SuppressFinalize(this);
59 }
60
66
71
77
82
88
93
99
104
110
115
120
122 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIImageItem_GetDefinition(swigCPtr);
123 CFxUIItemDefinition ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIItemDefinition(cPtr, false);
125 return ret;
126 }
127
128 public virtual bool IsObsolete() {
131 return ret;
132 }
133
138
139 public virtual CFxUIImageItem GetParent() {
140 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIImageItem_GetParent(swigCPtr);
141 CFxUIImageItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIImageItem(cPtr, false);
143 return ret;
144 }
145
147 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIImageItem_GetChildren(swigCPtr);
148 CFxUIImageItemCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIImageItemCollection(cPtr, false);
150 return ret;
151 }
152
153 public virtual bool IsSeparator() {
156 return ret;
157 }
158
163
164 public virtual bool IsRuntime() {
165 bool ret = PCADGlobalsPINVOKE.CFxUIImageItem_IsRuntime(swigCPtr);
167 return ret;
168 }
169
175
180
181 public virtual int GetRows() {
182 int ret = PCADGlobalsPINVOKE.CFxUIImageItem_GetRows(swigCPtr);
184 return ret;
185 }
186
191
192}
193
194}
static HandleRef getCPtr(CFxString obj)
Definition CFxString.cs:28
virtual void Dispose(bool disposing)
virtual CFxString GetImageLibFile()
virtual void SetName(CFxString name)
virtual void SetDefinition(CFxUIItemDefinition pDefinition)
virtual void SetUITitleName(CFxString titlename)
virtual void SetColumns(int iColumns)
static HandleRef getCPtr(CFxUIImageItem obj)
virtual CFxUIImageItemCollection GetChildren()
virtual void SetObsolete(bool bObsolete)
virtual void SetImageName(CFxString imagename)
virtual CFxUIImageItem GetParent()
virtual void SetImageLibFile(CFxString imagelibname)
virtual CFxString GetImageName()
virtual CFxString GetUITitleName()
virtual void SetUID(CFxString strUID)
virtual CFxString GetUID()
virtual void SetRows(int iRows)
virtual CFxString GetName()
virtual CFxUIItemDefinition GetDefinition()
CFxUIImageItem(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxUIItemDefinition obj)
static void CFxUIImageItem_SetImageLibFile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIImageItem_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIImageItem_SetToSeparator(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxUIImageItem_IsSeparator(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIImageItem_GetUITitleName(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxUIImageItem_GetRows(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIImageItem_SetUID(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIImageItem_GetImageName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIImageItem_GetDefinition(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIImageItem_SetName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIImageItem_GetChildren(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIImageItem_SetUITitleName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIImageItem_SetObsolete(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool CFxUIImageItem_IsRuntime(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIImageItem_SetRows(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void CFxUIImageItem_SetDefinition(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIImageItem_GetParent(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxUIImageItem_IsObsolete(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIImageItem_SetColumns(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr CFxUIImageItem_GetImageLibFile(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxUIImageItem_GetColumns(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIImageItem_GetUID(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIImageItem_SetImageName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)