Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbHyperlink.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 OdDbHyperlink : 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 OdDbHyperlink(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(OdDbHyperlink 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 virtual String name() {
52 string ret = GlobalsPINVOKE.OdDbHyperlink_name(swigCPtr);
54 return ret;
55}
56
57 public virtual void setName(String name) {
60 }
61
62 public virtual String description() {
63 string ret = GlobalsPINVOKE.OdDbHyperlink_description(swigCPtr);
65 return ret;
66}
67
68 public virtual void setDescription(String description) {
71 }
72
73 public virtual String subLocation() {
74 string ret = GlobalsPINVOKE.OdDbHyperlink_subLocation(swigCPtr);
76 return ret;
77}
78
79 public virtual void setSubLocation(String subLocation) {
82 }
83
84 public virtual String getDisplayString() {
87 return ret;
88}
89
90 public virtual bool isOutermostContainer() {
93 return ret;
94 }
95
96 public virtual int getNestedLevel() {
99 return ret;
100 }
101
102 public virtual Int32 flags() {
103// test csout
104 /*SIMPLETYPE*/
105 Int32 ret = GlobalsPINVOKE.OdDbHyperlink_flags(swigCPtr);
107 return ret;
108 }
109
110 public virtual void setFlags(Int32 /*SIMPLETYPE*/ lFlags) {
111 GlobalsPINVOKE.OdDbHyperlink_setFlags(swigCPtr, lFlags /*SIMPLETYPE*/);
113 }
114
119 public virtual int vb_flags() { return this.flags(); }
120
125 public virtual string vb_name() { return this.name(); }
126
127 public enum HLinkFlags {
128 kUndefined = 0,
129 kConvertDwgToDwf = 0x1
130 }
131
132}
133
134}
static global::System.Exception Retrieve()
static void OdDbHyperlink_setName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static String OdDbHyperlink_getDisplayString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDbHyperlink(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDbHyperlink_subLocation(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDbHyperlink_name(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbHyperlink_setFlags(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static int OdDbHyperlink_getNestedLevel(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDbHyperlink_description(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbHyperlink_setDescription(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static Int32 OdDbHyperlink_flags(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbHyperlink_isOutermostContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbHyperlink_setSubLocation(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)