18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdDbPlotSettingsValidator(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
271 private void SwigDirectorConnect() {
272 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
274 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
276 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
278 if (SwigDerivedClassHasMethod(
"setPlotCfgName", swigMethodTypes3))
280 if (SwigDerivedClassHasMethod(
"setPlotCfgName", swigMethodTypes4))
282 if (SwigDerivedClassHasMethod(
"setCanonicalMediaName", swigMethodTypes5))
284 if (SwigDerivedClassHasMethod(
"setPlotOrigin", swigMethodTypes6))
286 if (SwigDerivedClassHasMethod(
"setPlotPaperUnits", swigMethodTypes7))
288 if (SwigDerivedClassHasMethod(
"setPlotRotation", swigMethodTypes8))
290 if (SwigDerivedClassHasMethod(
"setPlotCentered", swigMethodTypes9))
292 if (SwigDerivedClassHasMethod(
"setPlotType", swigMethodTypes10))
294 if (SwigDerivedClassHasMethod(
"setPlotWindowArea", swigMethodTypes11))
296 if (SwigDerivedClassHasMethod(
"setPlotViewName", swigMethodTypes12))
298 if (SwigDerivedClassHasMethod(
"setUseStandardScale", swigMethodTypes13))
300 if (SwigDerivedClassHasMethod(
"setCustomPrintScale", swigMethodTypes14))
302 if (SwigDerivedClassHasMethod(
"setCurrentStyleSheet", swigMethodTypes15))
304 if (SwigDerivedClassHasMethod(
"setStdScaleType", swigMethodTypes16))
306 if (SwigDerivedClassHasMethod(
"setStdScale", swigMethodTypes17))
308 if (SwigDerivedClassHasMethod(
"plotDeviceList", swigMethodTypes18))
310 if (SwigDerivedClassHasMethod(
"canonicalMediaNameList", swigMethodTypes19))
312 if (SwigDerivedClassHasMethod(
"getLocaleMediaName", swigMethodTypes20))
314 if (SwigDerivedClassHasMethod(
"getLocaleMediaName", swigMethodTypes21))
316 if (SwigDerivedClassHasMethod(
"setClosestMediaName", swigMethodTypes22))
318 if (SwigDerivedClassHasMethod(
"recalculatePlotData", swigMethodTypes23))
320 if (SwigDerivedClassHasMethod(
"plotStyleSheetList", swigMethodTypes24))
322 if (SwigDerivedClassHasMethod(
"refreshLists", swigMethodTypes25))
324 if (SwigDerivedClassHasMethod(
"setZoomToPaperOnUpdate", swigMethodTypes26))
326 if (SwigDerivedClassHasMethod(
"setDefaultPlotConfig", swigMethodTypes27))
328 TD_DbPINVOKE.
OdDbPlotSettingsValidator_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate27);
331 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
332 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
334 return hasDerivedMethod;
337 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
346 private IntPtr SwigDirectorMethodisA() {
353 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
359 private int SwigDirectorMethodsetPlotCfgName__SWIG_0(IntPtr pPlotSettings, [MarshalAs(UnmanagedType.LPWStr)]
String plotDeviceName, [MarshalAs(UnmanagedType.LPWStr)]
String mediaName) {
361 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
362, plotDeviceName, mediaName);
365 private int SwigDirectorMethodsetPlotCfgName__SWIG_1(IntPtr pPlotSettings, [MarshalAs(UnmanagedType.LPWStr)]
String plotDeviceName) {
367 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
371 private int SwigDirectorMethodsetCanonicalMediaName(IntPtr pPlotSettings, [MarshalAs(UnmanagedType.LPWStr)]
String mediaName) {
373 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
377 private int SwigDirectorMethodsetPlotOrigin(IntPtr pPlotSettings,
double xCoordinate,
double yCoordinate) {
379 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
380, xCoordinate, yCoordinate);
383 private int SwigDirectorMethodsetPlotPaperUnits(IntPtr pPlotSettings,
int plotPaperUnits) {
385 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
386, (OdDbPlotSettings.PlotPaperUnits)plotPaperUnits);
389 private int SwigDirectorMethodsetPlotRotation(IntPtr pPlotSettings,
int plotRotation) {
391 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
392, (OdDbPlotSettings.PlotRotation)plotRotation);
395 private int SwigDirectorMethodsetPlotCentered(IntPtr pPlotSettings,
bool plotCentered) {
397 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
401 private int SwigDirectorMethodsetPlotType(IntPtr pPlotSettings,
int plotType) {
403 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
404, (OdDbPlotSettings.PlotType)plotType);
407 private int SwigDirectorMethodsetPlotWindowArea(IntPtr pPlotSettings,
double xMin,
double yMin,
double xMax,
double yMax) {
409 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
410, xMin, yMin, xMax, yMax);
413 private int SwigDirectorMethodsetPlotViewName(IntPtr pPlotSettings, [MarshalAs(UnmanagedType.LPWStr)]
String plotViewName) {
415 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
419 private int SwigDirectorMethodsetUseStandardScale(IntPtr pPlotSettings,
bool useStandardScale) {
421 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
425 private int SwigDirectorMethodsetCustomPrintScale(IntPtr pPlotSettings,
double numerator,
double denominator) {
427 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
428, numerator, denominator);
431 private int SwigDirectorMethodsetCurrentStyleSheet(IntPtr pPlotSettings, [MarshalAs(UnmanagedType.LPWStr)]
String currentStyleSheet) {
433 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
437 private int SwigDirectorMethodsetStdScaleType(IntPtr pPlotSettings,
int stdScaleType) {
439 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
440, (OdDbPlotSettings.StdScaleType)stdScaleType);
443 private int SwigDirectorMethodsetStdScale(IntPtr pPlotSettings,
double standardScale) {
445 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
449 private void SwigDirectorMethodplotDeviceList(IntPtr deviceList) {
453 private int SwigDirectorMethodcanonicalMediaNameList(IntPtr pPlotSettings, IntPtr mediaList) {
455 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
459 [
return: MarshalAs(UnmanagedType.LPWStr)]
460 private String SwigDirectorMethodgetLocaleMediaName__SWIG_0(IntPtr pPlotSettings, [MarshalAs(UnmanagedType.LPWStr)]
String canonicalName) {
462 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
466 [
return: MarshalAs(UnmanagedType.LPWStr)]
467 private String SwigDirectorMethodgetLocaleMediaName__SWIG_1(IntPtr pPlotSettings,
int mediaIndex) {
469 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
473 private int SwigDirectorMethodsetClosestMediaName(IntPtr pPlotSettings,
double paperWidth,
double paperHeight,
int plotPaperUnits,
bool matchPrintableArea) {
475 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
476, paperWidth, paperHeight, (OdDbPlotSettings.PlotPaperUnits)plotPaperUnits, matchPrintableArea);
479 private int SwigDirectorMethodrecalculatePlotData(IntPtr pPlotSet) {
481 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSet,
false)
485 private int SwigDirectorMethodplotStyleSheetList(IntPtr styleList) {
489 private void SwigDirectorMethodrefreshLists(IntPtr pPlotSettings) {
491 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
495 private int SwigDirectorMethodsetZoomToPaperOnUpdate(IntPtr pPlotSettings,
bool zoomToPaperOnUpdate) {
497 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
498, zoomToPaperOnUpdate);
501 private int SwigDirectorMethodsetDefaultPlotConfig(IntPtr pPlotSettings) {
503 (OdDbPlotSettings)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbPlotSettings),pPlotSettings,
false)
527 [
return: MarshalAs(UnmanagedType.LPWStr)]
529 [
return: MarshalAs(UnmanagedType.LPWStr)]
567 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
568 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
569 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
570 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
String), typeof(
String) };
571 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
String) };
572 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
String) };
573 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
double), typeof(
double) };
574 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(OdDbPlotSettings.PlotPaperUnits) };
575 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(OdDbPlotSettings.PlotRotation) };
576 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
bool) };
577 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(OdDbPlotSettings.PlotType) };
578 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
double), typeof(
double), typeof(
double), typeof(
double) };
579 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
String) };
580 private static global::System.Type[] swigMethodTypes13 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
bool) };
581 private static global::System.Type[] swigMethodTypes14 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
double), typeof(
double) };
582 private static global::System.Type[] swigMethodTypes15 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
String) };
583 private static global::System.Type[] swigMethodTypes16 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(OdDbPlotSettings.StdScaleType) };
584 private static global::System.Type[] swigMethodTypes17 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
double) };
585 private static global::System.Type[] swigMethodTypes18 =
new global::System.Type[] { typeof(
OdStringArray) };
586 private static global::System.Type[] swigMethodTypes19 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
OdStringArray) };
587 private static global::System.Type[] swigMethodTypes20 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
String) };
588 private static global::System.Type[] swigMethodTypes21 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
int) };
589 private static global::System.Type[] swigMethodTypes22 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
double), typeof(
double), typeof(OdDbPlotSettings.PlotPaperUnits), typeof(
bool) };
590 private static global::System.Type[] swigMethodTypes23 =
new global::System.Type[] { typeof(OdDbPlotSettings) };
591 private static global::System.Type[] swigMethodTypes24 =
new global::System.Type[] { typeof(
OdStringArray) };
592 private static global::System.Type[] swigMethodTypes25 =
new global::System.Type[] { typeof(OdDbPlotSettings) };
593 private static global::System.Type[] swigMethodTypes26 =
new global::System.Type[] { typeof(OdDbPlotSettings), typeof(
bool) };
594 private static global::System.Type[] swigMethodTypes27 =
new global::System.Type[] { typeof(OdDbPlotSettings) };