public static MgView fromHandle(int h) { IntPtr cPtr = touchvgPINVOKE.MgView_fromHandle(h); MgView ret = (cPtr == IntPtr.Zero) ? null : new MgView(cPtr, false); return(ret); }
public int getSelectionForChange(MgView view, Shapes shapes) { int ret = touchvgPINVOKE.MgSelection_getSelectionForChange(swigCPtr, MgView.getCPtr(view), Shapes.getCPtr(shapes)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int getSelectionCount(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view)); return ret; }
public virtual bool isSelectedByType(MgView view, int type) { bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type); return ret; }
internal static HandleRef getCPtr(MgView obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public MgDynShapeLock(bool forWrite, MgView view) : this(touchvgPINVOKE.new_MgDynShapeLock__SWIG_1(forWrite, MgView.getCPtr(view)), true) { }
internal static HandleRef getCPtr(MgView obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public static bool lockedForRead(MgView view) { bool ret = touchvgPINVOKE.MgShapesLock_lockedForRead(MgView.getCPtr(view)); return ret; }
public MgShapesLock(MgView view, int timeout) : this(touchvgPINVOKE.new_MgShapesLock__SWIG_2(MgView.getCPtr(view), timeout), true) { }
public int getSelectionCount(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view)); return(ret); }
public virtual bool isSelectedByType(MgView view, int type) { bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type); return(ret); }
public virtual bool isEditMode(MgView view) { bool ret = touchvgPINVOKE.MgSelection_isEditMode(swigCPtr, MgView.getCPtr(view)); return(ret); }
public virtual bool isFixedLength(MgView view) { bool ret = touchvgPINVOKE.MgSelection_isFixedLength(swigCPtr, MgView.getCPtr(view)); return(ret); }
public int getSelectionForChange(MgView view, Shapes shapes) { int ret = touchvgPINVOKE.MgSelection_getSelectionForChange(swigCPtr, MgView.getCPtr(view), Shapes.getCPtr(shapes)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual MgSelState getSelectState(MgView view) { MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view)); return(ret); }
public MgShapesLock(int flags, MgView view) : this(touchvgPINVOKE.new_MgShapesLock__SWIG_1(flags, MgView.getCPtr(view)), true) { }
public virtual int getSelectType(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view)); return(ret); }
public MgShapesLock(MgView view) : this(touchvgPINVOKE.new_MgShapesLock__SWIG_3(MgView.getCPtr(view)), true) { }
public virtual MgSelState getSelectState(MgView view) { MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view)); return ret; }
public virtual bool dynamicChangeEnded(MgView view, bool apply) { bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply); return ret; }
public virtual int getSelectType(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view)); return ret; }
public MgDynShapeLock(bool forWrite, MgView view, int timeout) : this(touchvgPINVOKE.new_MgDynShapeLock__SWIG_0(forWrite, MgView.getCPtr(view), timeout), true) { }
public virtual bool isLocked(MgView view) { bool ret = touchvgPINVOKE.MgSelection_isLocked(swigCPtr, MgView.getCPtr(view)); return ret; }
public static bool lockedForWrite(MgView view) { bool ret = touchvgPINVOKE.MgDynShapeLock_lockedForWrite(MgView.getCPtr(view)); return ret; }
public virtual bool dynamicChangeEnded(MgView view, bool apply) { bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply); return(ret); }