Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PDFAccessPermissionsParams.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 PDFAccessPermissionsParams : 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 PDFAccessPermissionsParams(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(PDFAccessPermissionsParams 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 bool AllowExtract {
52 set {
55 }
56 get {
59 return ret;
60 }
61 }
62
63 public bool AllowAssemble {
64 set {
67 }
68 get {
71 return ret;
72 }
73 }
74
76 set {
79 }
80 get {
83 return ret;
84 }
85 }
86
87 public bool AllowFormFilling {
88 set {
91 }
92 get {
95 return ret;
96 }
97 }
98
99 public bool AllowModifyOther {
100 set {
103 }
104 get {
107 return ret;
108 }
109 }
110
111 public bool AllowPrintAll {
112 set {
115 }
116 get {
119 return ret;
120 }
121 }
122
123 public bool AllowPrintLow {
124 set {
127 }
128 get {
131 return ret;
132 }
133 }
134
135 public PDFAccessPermissionsParams() : this(GlobalsPINVOKE.new_PDFAccessPermissionsParams(), true) {
137 }
138
139}
140
141}
static global::System.Exception Retrieve()
static void PDFAccessPermissionsParams_AllowModifyOther_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool PDFAccessPermissionsParams_AllowAssemble_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFAccessPermissionsParams_AllowAssemble_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool PDFAccessPermissionsParams_AllowPrintLow_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFAccessPermissionsParams_AllowExtract_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool PDFAccessPermissionsParams_AllowModifyOther_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFAccessPermissionsParams_AllowFormFilling_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void PDFAccessPermissionsParams_AllowAnnotateAndForm_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool PDFAccessPermissionsParams_AllowFormFilling_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFAccessPermissionsParams_AllowPrintAll_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool PDFAccessPermissionsParams_AllowExtract_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFAccessPermissionsParams_AllowPrintAll_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFAccessPermissionsParams_AllowAnnotateAndForm_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_PDFAccessPermissionsParams(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFAccessPermissionsParams_AllowPrintLow_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static HandleRef getCPtr(PDFAccessPermissionsParams obj)
PDFAccessPermissionsParams(IntPtr cPtr, bool cMemoryOwn)