Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsClientViewInfo.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 OdGsClientViewInfo : 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 OdGsClientViewInfo(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(OdGsClientViewInfo 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
51 public int viewportId {
52 set {
55 }
56 get {
59 return ret;
60 }
61 }
62
63 public int acadWindowId {
64 set {
67 }
68 get {
71 return ret;
72 }
73 }
74
76 set {
79 }
80 get {
81 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGsClientViewInfo_viewportObjectId_get(swigCPtr);
82 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
84 return ret;
85 }
86 }
87
89 set {
91
93 }
94
95 get {
96 OdGiContextualColors ret = (OdGiContextualColors)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiContextualColors),GlobalsPINVOKE.OdGsClientViewInfo_contextColors_get(swigCPtr),false); /*createInt 4_3*/
97
99 return ret; //csvarout
100 }
101
102 }
103
104 public UInt32 viewportFlags {
105 set {
106 /*SIMPLETYPE*/
109 }
110 get {
111 /*SIMPLETYPE*/
114 return ret;
115 }
116 }
117
118 public OdGsClientViewInfo() : this(GlobalsPINVOKE.new_OdGsClientViewInfo(), true) {
120 }
121
122 public enum ViewportFlags {
125 kHelperView = 4,
127 }
128
129}
130
131}
static global::System.Exception Retrieve()
static void OdGsClientViewInfo_viewportId_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static IntPtr OdGsClientViewInfo_contextColors_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsClientViewInfo_acadWindowId_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_OdGsClientViewInfo(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGsClientViewInfo_viewportId_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsClientViewInfo_viewportObjectId_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsClientViewInfo_contextColors_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGsClientViewInfo_viewportFlags_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static UInt32 OdGsClientViewInfo_viewportFlags_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGsClientViewInfo_acadWindowId_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsClientViewInfo_viewportObjectId_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGiContextualColors obj)
OdGsClientViewInfo(IntPtr cPtr, bool cMemoryOwn)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(OdGsClientViewInfo obj)
OdGiContextualColors contextColors