Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdAveBitmap.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
17public class OdAveBitmap : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdAveBitmap(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdAveBitmap obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~OdAveBitmap() {
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public virtual double blendFactor() {
53 double ret = TD_DbPINVOKE.OdAveBitmap_blendFactor(swigCPtr);
55 return ret;
56 }
57
58 public virtual void source(ref string filename) {
59IntPtr tmp_filename = Marshal.StringToCoTaskMemUni(filename);
60 IntPtr saved_filename = tmp_filename;
61 try {
62 TD_DbPINVOKE.OdAveBitmap_source(swigCPtr, ref tmp_filename);
64 } finally {
65if (tmp_filename != saved_filename) filename = Marshal.PtrToStringUni(tmp_filename);
66 }
67 }
68
69 public virtual double scaleU() {
70 double ret = TD_DbPINVOKE.OdAveBitmap_scaleU(swigCPtr);
72 return ret;
73 }
74
75 public virtual double scaleV() {
76 double ret = TD_DbPINVOKE.OdAveBitmap_scaleV(swigCPtr);
78 return ret;
79 }
80
81 public virtual double offsetU() {
82 double ret = TD_DbPINVOKE.OdAveBitmap_offsetU(swigCPtr);
84 return ret;
85 }
86
87 public virtual double offsetV() {
88 double ret = TD_DbPINVOKE.OdAveBitmap_offsetV(swigCPtr);
90 return ret;
91 }
92
98
99 public virtual bool useAutoAxis() {
100 bool ret = TD_DbPINVOKE.OdAveBitmap_useAutoAxis(swigCPtr);
102 return ret;
103 }
104
105 public virtual bool fitToObject() {
106 bool ret = TD_DbPINVOKE.OdAveBitmap_fitToObject(swigCPtr);
108 return ret;
109 }
110
115
116 public virtual void setSource(String filename) {
117 TD_DbPINVOKE.OdAveBitmap_setSource(swigCPtr, filename);
119 }
120
125
130
135
140
145
150
155
160 public virtual void vb_source(ref string filename) { this.source(ref filename); }
161
166 public virtual Teigha.TD.TileMethod vb_tileMethod() { return this.tileMethod(); }
167
168}
169
170}
virtual void setTileMethod(TileMethod tileMethod)
virtual void setOffsetV(double offsetV)
virtual double blendFactor()
virtual TileMethod tileMethod()
virtual void vb_source(ref string filename)
virtual void setScaleV(double scaleV)
virtual void setFitToObject(bool fitToObject)
virtual double scaleV()
virtual void Dispose(bool disposing)
virtual void setScaleU(double scaleU)
virtual double scaleU()
virtual double offsetV()
virtual bool useAutoAxis()
virtual double offsetU()
virtual void setBlendFactor(double blendFactor)
virtual void setUseAutoAxis(bool useAutoAxis)
static HandleRef getCPtr(OdAveBitmap obj)
virtual void source(ref string filename)
OdAveBitmap(IntPtr cPtr, bool cMemoryOwn)
virtual void setSource(String filename)
virtual Teigha.TD.TileMethod vb_tileMethod()
virtual bool fitToObject()
virtual void setOffsetU(double offsetU)
static global::System.Exception Retrieve()
static double OdAveBitmap_offsetV(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdAveBitmap_fitToObject(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBitmap_setTileMethod(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdAveBitmap_setBlendFactor(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAveBitmap_setUseAutoAxis(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdAveBitmap_setSource(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static double OdAveBitmap_scaleV(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAveBitmap_scaleU(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBitmap_setOffsetV(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdAveBitmap_tileMethod(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBitmap_setScaleU(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAveBitmap_setFitToObject(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_OdAveBitmap(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBitmap_source(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2)
static double OdAveBitmap_offsetU(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAveBitmap_blendFactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveBitmap_setOffsetU(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAveBitmap_setScaleV(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdAveBitmap_useAutoAxis(global::System.Runtime.InteropServices.HandleRef jarg1)