Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxHostAppServices.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxHostAppServices(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxHostAppServices_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxHostAppServices obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
44 public override bool doFullCRCCheck() {
47 return ret;
48 }
49
50 public virtual bool getMappedFont(CFxString sOriginalFont, CFxString sMappedFont, bool searchInFontMap) {
51 bool ret = PCADGlobalsPINVOKE.CFxHostAppServices_getMappedFont__SWIG_0(swigCPtr, CFxString.getCPtr(sOriginalFont), CFxString.getCPtr(sMappedFont), searchInFontMap);
53 return ret;
54 }
55
56 public virtual bool getMappedFont(CFxString sOriginalFont, CFxString sMappedFont) {
57 bool ret = PCADGlobalsPINVOKE.CFxHostAppServices_getMappedFont__SWIG_1(swigCPtr, CFxString.getCPtr(sOriginalFont), CFxString.getCPtr(sMappedFont));
59 return ret;
60 }
61
62 public virtual bool isSysVarAllowed(CFxString sysVarName, CFxHostAppServices.InputMode mode) {
63 bool ret = PCADGlobalsPINVOKE.CFxHostAppServices_isSysVarAllowed(swigCPtr, CFxString.getCPtr(sysVarName), (int)mode);
65 return ret;
66 }
67
68 public virtual CFxString getRawName(CFxString dsName) {
71 return ret;
72 }
73
74 public virtual CFxString getDsName(CFxString rawName) {
77 return ret;
78 }
79
80 public virtual CFxString translateAlias(CFxString aliasName) {
83 return ret;
84 }
85
86 public virtual void LoadVariables(CFxSettings pSettings) {
89 }
90
91 public virtual void SaveVariables(CFxSettings pSettings) {
94 }
95
96 public virtual void SetVariablesDefault() {
99 }
100
101 public enum InputMode {
104 }
105
106}
107
108}
override void Dispose(bool disposing)
virtual bool getMappedFont(CFxString sOriginalFont, CFxString sMappedFont)
virtual void LoadVariables(CFxSettings pSettings)
static HandleRef getCPtr(CFxHostAppServices obj)
virtual CFxString translateAlias(CFxString aliasName)
virtual CFxString getRawName(CFxString dsName)
virtual void SaveVariables(CFxSettings pSettings)
virtual CFxString getDsName(CFxString rawName)
virtual bool isSysVarAllowed(CFxString sysVarName, CFxHostAppServices.InputMode mode)
virtual bool getMappedFont(CFxString sOriginalFont, CFxString sMappedFont, bool searchInFontMap)
CFxHostAppServices(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxSettings obj)
Definition: CFxSettings.cs:28
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static void delete_CFxHostAppServices(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHostAppServices_getMappedFont__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxHostAppServices_SaveVariables(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxHostAppServices_translateAlias(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxHostAppServices_isSysVarAllowed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void CFxHostAppServices_SetVariablesDefault(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHostAppServices_getRawName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxHostAppServices_LoadVariables(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxHostAppServices_getMappedFont__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static global::System.IntPtr CFxHostAppServices_getDsName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxHostAppServices_doFullCRCCheck(global::System.Runtime.InteropServices.HandleRef jarg1)