Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDgTextExtendedPropertiesImpl.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDgTextExtendedPropertiesImpl : OdDgTextExtendedProperties, 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 OdDgTextExtendedPropertiesImpl(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(OdDgTextExtendedPropertiesImpl obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
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 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
53 global::System.Runtime.InteropServices.HandleRef OdDgTextExtendedProperties.GetInterfaceCPtr() {
54 return new global::System.Runtime.InteropServices.HandleRef(this, TG_DbPINVOKE.OdDgTextExtendedPropertiesImpl_OdDgTextExtendedProperties_GetInterfaceCPtr(swigCPtr.Handle));
55 }
56
62
67
73
78
84
89
95
100
106
111
117
122
128
133
139
144
150
155
161
166
172
177
183
188
194
199
205
210
216
221
227
232
238
243
244 public virtual bool getBoldFlag() {
247 return ret;
248 }
249
254
260
265
271
276
282
287
293
298
304
309
310 public virtual bool getColorFlag() {
313 return ret;
314 }
315
320
326
331
337
342
348
353
359
364
370
375
380
385
386 public virtual double getSlant() {
389 return ret;
390 }
391
396
402
407
413
418
419 public virtual UInt32 getCodePage() {
420// test csout
421 /*SIMPLETYPE*/
424 return ret;
425 }
426
427 public virtual void setCodePage(UInt32 var) {
428 TG_DbPINVOKE.OdDgTextExtendedPropertiesImpl_setCodePage(swigCPtr, var /*SIMPLETYPE*/);
430 }
431
432 public virtual UInt32 getShxBigFontEntryId() {
433// test csout
434 /*SIMPLETYPE*/
437 return ret;
438 }
439
444
445 public virtual UInt32 getBackgroundLineStyleEntryId() {
446// test csout
447 /*SIMPLETYPE*/
450 return ret;
451 }
452
453 public virtual UInt32 getBackgroundLineWeight() {
454// test csout
455 /*SIMPLETYPE*/
458 return ret;
459 }
460
461 public virtual UInt32 getBackgroundColorIndex() {
462// test csout
463 /*SIMPLETYPE*/
466 return ret;
467 }
468
469 public virtual UInt32 getBackgroundFillColorIndex() {
470// test csout
471 /*SIMPLETYPE*/
474 return ret;
475 }
476
482
488
493
494 public virtual UInt32 getTextStyleEntryId() {
495// test csout
496 /*SIMPLETYPE*/
499 return ret;
500 }
501
506
507 public virtual UInt32 getUnderlineColorIndex() {
508// test csout
509 /*SIMPLETYPE*/
512 return ret;
513 }
514
515 public virtual UInt32 getUnderlineLineStyleEntryId() {
516// test csout
517 /*SIMPLETYPE*/
520 return ret;
521 }
522
523 public virtual UInt32 getUnderlineLineWeight() {
524// test csout
525 /*SIMPLETYPE*/
528 return ret;
529 }
530
531 public virtual UInt32 getOverlineColorIndex() {
532// test csout
533 /*SIMPLETYPE*/
536 return ret;
537 }
538
539 public virtual UInt32 getOverlineLineStyleEntryId() {
540// test csout
541 /*SIMPLETYPE*/
544 return ret;
545 }
546
547 public virtual UInt32 getOverlineLineWeight() {
548// test csout
549 /*SIMPLETYPE*/
552 return ret;
553 }
554
560
565
566 public virtual void setOverlineStyle(UInt32 dOverlineColorIndex, UInt32 dOverlineLineStyleEntryId, UInt32 dOverlineLineWeight) {
567 TG_DbPINVOKE.OdDgTextExtendedPropertiesImpl_setOverlineStyle(swigCPtr, dOverlineColorIndex /*SIMPLETYPE*/, dOverlineLineStyleEntryId /*SIMPLETYPE*/, dOverlineLineWeight /*SIMPLETYPE*/);
569 }
570
571 public virtual void setUnderlineStyle(UInt32 dUnderlineColorIndex, UInt32 dUnderlineLineStyleEntryId, UInt32 dUnderlineLineWeight) {
572 TG_DbPINVOKE.OdDgTextExtendedPropertiesImpl_setUnderlineStyle(swigCPtr, dUnderlineColorIndex /*SIMPLETYPE*/, dUnderlineLineStyleEntryId /*SIMPLETYPE*/, dUnderlineLineWeight /*SIMPLETYPE*/);
574 }
575
576 public virtual void setBackground(UInt32 backgroundStyle, UInt32 backgroundWeight, UInt32 backgroundColor, UInt32 backgroundFillColor, OdGePoint2d backgroundBorder) {
577 TG_DbPINVOKE.OdDgTextExtendedPropertiesImpl_setBackground(swigCPtr, backgroundStyle /*SIMPLETYPE*/, backgroundWeight /*SIMPLETYPE*/, backgroundColor /*SIMPLETYPE*/, backgroundFillColor /*SIMPLETYPE*/, OdGePoint2d.getCPtr(backgroundBorder));
579 }
580
581 public virtual byte getCrCount() {
582// test csout
583 /*SIMPLETYPE*/
586 return ret;
587 }
588
589 public virtual void setCrCount(byte var) {
590 TG_DbPINVOKE.OdDgTextExtendedPropertiesImpl_setCrCount(swigCPtr, var /*SIMPLETYPE*/);
592 }
593
594 public virtual UInt32 getColorIndex() {
595// test csout
596 /*SIMPLETYPE*/
599 return ret;
600 }
601
602 public virtual void setColorIndex(UInt32 color, bool bSubEnt) {
603 TG_DbPINVOKE.OdDgTextExtendedPropertiesImpl_setColorIndex__SWIG_0(swigCPtr, color /*SIMPLETYPE*/, bSubEnt);
605 }
606
607 public virtual void setColorIndex(UInt32 color) {
610 }
611
612 public enum OdDgSpecialSymbol {
613 kTab = 0,
614 kParagraph = 1,
615 kNewLine = 2
616 }
617
624
626 kExact = 0,
627 kAutomatic = 1,
628 kFromLineTop = 2,
629 kAtLeast = 3
630 }
631
632}
633
634}
static HandleRef getCPtr(OdGePoint2d obj)
virtual void setBackground(UInt32 backgroundStyle, UInt32 backgroundWeight, UInt32 backgroundColor, UInt32 backgroundFillColor, OdGePoint2d backgroundBorder)
virtual void setLineSpacingType(OdDgTextExtendedPropertiesImpl.OdDgTextExtendedProperties_LineSpacingType uType)
virtual void setOverlineStyle(UInt32 dOverlineColorIndex, UInt32 dOverlineLineStyleEntryId, UInt32 dOverlineLineWeight)
virtual void setUnderlineStyle(UInt32 dUnderlineColorIndex, UInt32 dUnderlineLineStyleEntryId, UInt32 dUnderlineLineWeight)
virtual void setColorIndex(UInt32 color, bool bSubEnt)
virtual void setSpacing(double var, OdDgTextExtendedPropertiesImpl.OdDgTextExtendedProperties_Spacing flag)
virtual OdDgTextExtendedPropertiesImpl.OdDgTextExtendedProperties_LineSpacingType getLineSpacingType()
virtual void getSpacing(out double var, out OdDgTextExtendedPropertiesImpl.OdDgTextExtendedProperties_Spacing flag)
static HandleRef getCPtr(OdDgTextExtendedPropertiesImpl obj)
static global::System.Exception Retrieve()
static void OdDgTextExtendedPropertiesImpl_setSpacing(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, OdDgTextExtendedPropertiesImpl.OdDgTextExtendedProperties_Spacing jarg3)
static UInt32 OdDgTextExtendedPropertiesImpl_getOverlineLineStyleEntryId(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setBackwardsFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setTextnodeWordWrapLength(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static UInt32 OdDgTextExtendedPropertiesImpl_getOverlineColorIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getExTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setRightToLeftFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setShxBigFontFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdDgTextExtendedPropertiesImpl_getBackgroundBorder(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setOverlineSpacing(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDgTextExtendedPropertiesImpl_getAcadInterCharSpacingFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgTextExtendedPropertiesImpl_getBackgroundLineWeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getSuperscriptFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgTextExtendedPropertiesImpl_getCodePage(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgTextExtendedPropertiesImpl_getLineSpacingType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setWordWrapTextNodeFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgTextExtendedPropertiesImpl_getTextStyleEntryId(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setLineOffset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgTextExtendedPropertiesImpl_getBackwardsFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgTextExtendedPropertiesImpl_getUnderlineLineWeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getTextStyleFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getBoldFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setShxBigFontEntryId(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgTextExtendedPropertiesImpl_setAcadInterCharSpacingFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getStyleOverridesFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setBackground(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static double OdDgTextExtendedPropertiesImpl_getUnderlineSpacing(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setUnderlineFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgTextExtendedPropertiesImpl_getOverlineLineWeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getOverlineFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setUnderlineStyle(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4)
static void OdDgTextExtendedPropertiesImpl_setSubscriptFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setOverlineFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgTextExtendedPropertiesImpl_getColorIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setColorFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setExTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getAcadFittedTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setOverlineStyle(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4)
static void OdDgTextExtendedPropertiesImpl_setVerticalFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setSlant(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgTextExtendedPropertiesImpl_setCodepageFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setCodePage(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static UInt32 OdDgTextExtendedPropertiesImpl_getShxBigFontEntryId(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDgTextExtendedPropertiesImpl(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setAcadFittedTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdDgTextExtendedPropertiesImpl_OdDgTextExtendedProperties_GetInterfaceCPtr(global::System.IntPtr jarg1)
static double OdDgTextExtendedPropertiesImpl_getOverlineSpacing(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getSlantFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getBgColorFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setTextStyleEntryId(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgTextExtendedPropertiesImpl_setUpsidedownFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setColorIndex__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static void OdDgTextExtendedPropertiesImpl_setColorIndex__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool OdDgTextExtendedPropertiesImpl_getReverseMlineFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setBgColorFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getVerticalFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgTextExtendedPropertiesImpl_getUnderlineColorIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgTextExtendedPropertiesImpl_getLineOffset(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setBoldFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getColorFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setStyleOverridesFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setReverseMlineFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getInterCharSpacingFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setSuperscriptFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgTextExtendedPropertiesImpl_getBackgroundFillColorIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getFixedWidthSpacingFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgTextExtendedPropertiesImpl_getUnderlineLineStyleEntryId(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getOverlineStyleFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setUnderlineSpacing(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgTextExtendedPropertiesImpl_setCrCount(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2)
static void OdDgTextExtendedPropertiesImpl_setUnderlineStyleFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getFullJustificationFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getUnderlineFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgTextExtendedPropertiesImpl_getSlant(global::System.Runtime.InteropServices.HandleRef jarg1)
static byte OdDgTextExtendedPropertiesImpl_getCrCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getShxBigFontFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setOverlineStyleFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setFullJustificationFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setLineSpacingType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDgTextExtendedPropertiesImpl_getWordWrapTextNodeFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setInterCharSpacingFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setOffsetFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgTextExtendedPropertiesImpl_getBackgroundLineStyleEntryId(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getUnderlineStyleFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getUpsidedownFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setSlantFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgTextExtendedPropertiesImpl_setKerningFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getRightToLeftFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getCodepageFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setFixedWidthSpacingFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgTextExtendedPropertiesImpl_getOffsetFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_setTextStyleFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdDgTextExtendedPropertiesImpl_getTextnodeWordWrapLength(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgTextExtendedPropertiesImpl_getBackgroundColorIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgTextExtendedPropertiesImpl_getSpacing(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out OdDgTextExtendedPropertiesImpl.OdDgTextExtendedProperties_Spacing jarg3)
static bool OdDgTextExtendedPropertiesImpl_getSubscriptFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgTextExtendedPropertiesImpl_getKerningFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()