14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
66 public void set(
String fontName,
String bigFontName,
double textSize,
double xScale,
double obliquingAngle,
double trackingPercent,
bool isBackward,
bool isUpsideDown,
bool isVertical,
bool isOverlined,
bool isUnderlined) {
67 GlobalsPINVOKE.
OdGiTextStyle_set(swigCPtr, fontName, bigFontName,
textSize,
xScale,
obliquingAngle,
trackingPercent,
isBackward,
isUpsideDown,
isVertical,
isOverlined,
isUnderlined);
233 public void setFont(
String typeface,
bool bold,
bool italic,
int charset,
int pitchAndFamily) {
248 public void font(ref
string typeface, out
bool bold, out
bool italic, out
int charset, out
int pitchAndFamily) {
249IntPtr tmp_typeface = Marshal.StringToCoTaskMemUni(typeface);
250 IntPtr saved_typeface = tmp_typeface;
255if (tmp_typeface != saved_typeface) typeface = Marshal.PtrToStringUni(tmp_typeface);
static global::System.Exception Retrieve()
static void OdGiTextStyle_setShxFont(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiTextStyle_setFileName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdGiTextStyle_setStyleName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool OdGiTextStyle_isTtfFont(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setBigFont(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiTextStyle_setIsShape(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiTextStyle_isPreLoaded(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setIsUseIntercharSpacing(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiTextStyle_isBackward(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setTextSize(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static String OdGiTextStyle_getFontFilePath(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiTextStyle_setFont__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, bool jarg3, bool jarg4, int jarg5, int jarg6)
static IntPtr OdGiTextStyle_getBigFont(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdGiTextStyle_bigFontFileName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiTextStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiTextStyle_isShxFont(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setIntercharSpacing(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGiTextStyle_isOverlined(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setUnderlined(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiTextStyle_setCodePage(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiTextStyle_setObliquingAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiTextStyle_setBigFontFileName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static String OdGiTextStyle_styleName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_font(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2, out bool jarg3, out bool jarg4, out int jarg5, out int jarg6)
static bool OdGiTextStyle_isUnderlined(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiTextStyle_trackingPercent(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setFontFilePath(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdGiTextStyle_setNoUsePreferableFont(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiTextStyle_loadStyleRec(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiTextStyle_setStriked(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiTextStyle_setTrackingPercent(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiTextStyle_getIntercharSpacing(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiTextStyle_xScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setOverlined(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiTextStyle_isUpsideDown(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setVertical(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiTextStyle_setBackward(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdGiTextStyle_obliquingAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setFont__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdGiTextStyle_isShape(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setShapeLoaded(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdGiTextStyle_textSize(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiTextStyle_isVertical(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiTextStyle_getCodePage(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdGiTextStyle_getBigFontFilePath(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdGiTextStyle_ttfdescriptor__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiTextStyle_isUseIntercharSpacing(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiTextStyle_isFixedIntercharSpacing(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setUpsideDown(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiTextStyle_setIsFixedIntercharSpacing(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiTextStyle_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, double jarg4, double jarg5, double jarg6, double jarg7, bool jarg8, bool jarg9, bool jarg10, bool jarg11, bool jarg12)
static bool OdGiTextStyle_isShapeLoaded(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setBigFontFilePath(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool OdGiTextStyle_isStriked(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiTextStyle_isNoUsePreferableFont(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setPreLoaded(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static IntPtr OdGiTextStyle_getFont(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiTextStyle_setXScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static HandleRef getCPtr(OdFont obj)
void setBigFont(OdFont pBigFont)
OdGiTextStyle(IntPtr cPtr, bool cMemoryOwn)
void setBigFontFileName(String bigFontFileName)
bool isFixedIntercharSpacing()
void setFileName(String fontFileName)
const int kFixedIntercharSpacing
void setUpsideDown(bool isUpsideDown)
void setIsFixedIntercharSpacing(bool isUseIntercharSpacing)
const int kUseIntercharSpacing
void setObliquingAngle(double obliquingAngle)
void setFont(OdFont font)
void setStyleName(String name)
void font(ref string typeface, out bool bold, out bool italic, out int charset, out int pitchAndFamily)
void setIsShape(bool isShape)
void loadStyleRec(OdRxObject pDb)
void setOverlined(bool isOverlined)
void setPreLoaded(bool value)
void setVertical(bool isVertical)
void setNoUsePreferableFont(bool isUsePreferableFont)
void setBackward(bool isBackward)
void setXScale(double xScale)
void setBigFontFilePath(String bigFontFilePath)
void setIntercharSpacing(double dSpacing)
void setShxFont(bool value)
void setTrackingPercent(double trackingPercent)
bool isUseIntercharSpacing()
void setUnderlined(bool isUnderlined)
void setShapeLoaded(bool shapeLoaded)
String getFontFilePath(OdRxObject pDb)
bool isNoUsePreferableFont()
String getBigFontFilePath(OdRxObject pDb)
void setFontFilePath(String fontFilePath)
void setCodePage(OdCodePageId codePage)
double getIntercharSpacing()
const int kNoUsePreferableFont
virtual void Dispose(bool disposing)
OdCodePageId getCodePage()
void setStriked(bool isStriked)
void setFont(String typeface, bool bold, bool italic, int charset, int pitchAndFamily)
OdTtfDescriptor ttfdescriptor()
static HandleRef getCPtr(OdGiTextStyle obj)
void setIsUseIntercharSpacing(bool isUseIntercharSpacing)
void setTextSize(double textSize)
static HandleRef getCPtr(OdRxObject obj)