Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdPdf2ImageConversionParams.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 OdPdf2ImageConversionParams : 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 OdPdf2ImageConversionParams(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(OdPdf2ImageConversionParams 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 OdPdf2ImageConversionParams() : this(GlobalsPINVOKE.new_OdPdf2ImageConversionParams(), true) {
53 }
54
55 public UInt32 bg_color {
56 set {
57 /*SIMPLETYPE*/
60 }
61 get {
62 /*SIMPLETYPE*/
65 return ret;
66 }
67 }
68
69 public UInt16 dpi {
70 set {
71 /*SIMPLETYPE*/
74 }
75 get {
76 /*SIMPLETYPE*/
79 return ret;
80 }
81 }
82
83 public int flags {
84 set {
87 }
88 get {
91 return ret;
92 }
93 }
94
96 set {
99 }
100 get
101 {
102 // csvarout array
104
106 return res;
107 }
108
109 }
110
112 set {
115 }
116 get {
117 global::System.IntPtr cPtr = GlobalsPINVOKE.OdPdf2ImageConversionParams_cropArea_get(swigCPtr);
118 OdGsDCRect ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGsDCRect(cPtr, false);
120 return ret;
121 }
122 }
123
124}
125
126}
static global::System.Exception Retrieve()
static void OdPdf2ImageConversionParams_dpi_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void OdPdf2ImageConversionParams_bg_color_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static int OdPdf2ImageConversionParams_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPdf2ImageConversionParams_layers_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdPdf2ImageConversionParams_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdPdf2ImageConversionParams_layers_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdPdf2ImageConversionParams_dpi_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPdf2ImageConversionParams_cropArea_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 OdPdf2ImageConversionParams_bg_color_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdPdf2ImageConversionParams(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdPdf2ImageConversionParams_cropArea_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGsDCRect obj)
Definition: OdGsDCRect.cs:26
static HandleRef getCPtr(OdPdf2ImageConversionParams obj)
OdPdf2ImageConversionParams(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdPdfLayerArray obj)