public Int32[] GetMatchingRowsForRefreshConflict(NetOffice.VisioApi.IVShape shapeInConflict) { object[] paramsArray = Invoker.ValidateParamsArray(shapeInConflict); object returnItem = (object)Invoker.MethodReturn(this, "GetMatchingRowsForRefreshConflict", paramsArray); return((Int32[])returnItem); }
public Int32 GetListMemberPosition(NetOffice.VisioApi.IVShape shapeMember) { object[] paramsArray = Invoker.ValidateParamsArray(shapeMember); object returnItem = Invoker.MethodReturn(this, "GetListMemberPosition", paramsArray); return(NetRuntimeSystem.Convert.ToInt32(returnItem)); }
public NetOffice.VisioApi.Enums.VisContainerMemberState GetMemberState(NetOffice.VisioApi.IVShape shape) { object[] paramsArray = Invoker.ValidateParamsArray(shape); object returnItem = Invoker.MethodReturn(this, "GetMemberState", paramsArray); int intReturnItem = NetRuntimeSystem.Convert.ToInt32(returnItem); return((NetOffice.VisioApi.Enums.VisContainerMemberState)intReturnItem); }
public NetOffice.VisioApi.IVShape[] GetAllRefreshConflicts() { object[] paramsArray = null; object returnItem = Invoker.MethodReturn(this, "GetAllRefreshConflicts", paramsArray); ICOMObject[] newObject = Factory.CreateObjectArrayFromComProxy(this, (object[])returnItem, false); NetOffice.VisioApi.IVShape[] returnArray = new NetOffice.VisioApi.IVShape[newObject.Length]; for (int i = 0; i < newObject.Length; i++) { returnArray[i] = newObject[i] as NetOffice.VisioApi.IVShape; } return(returnArray); }
/// <summary> /// /// </summary> /// <param name="shape"></param> public void ShapeDataGraphicChanged([In, MarshalAs(UnmanagedType.IDispatch)] object shape) { if (!Validate("ShapeDataGraphicChanged")) { Invoker.ReleaseParamsArray(shape); return; } NetOffice.VisioApi.IVShape newShape = Factory.CreateEventArgumentObjectFromComProxy(EventClass, shape) as NetOffice.VisioApi.IVShape; object[] paramsArray = new object[1]; paramsArray[0] = newShape; EventBinding.RaiseCustomEvent("ShapeDataGraphicChanged", ref paramsArray); }
public void ShapeDataGraphicChanged([In, MarshalAs(UnmanagedType.IDispatch)] object shape) { Delegate[] recipients = _eventBinding.GetEventRecipients("ShapeDataGraphicChanged"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(shape); return; } NetOffice.VisioApi.IVShape newShape = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, shape) as NetOffice.VisioApi.IVShape; object[] paramsArray = new object[1]; paramsArray[0] = newShape; _eventBinding.RaiseCustomEvent("ShapeDataGraphicChanged", ref paramsArray); }
/// <summary> /// /// </summary> /// <param name="shape"></param> /// <param name="dataRecordsetID"></param> /// <param name="dataRowID"></param> public void ShapeLinkAdded([In, MarshalAs(UnmanagedType.IDispatch)] object shape, [In] object dataRecordsetID, [In] object dataRowID) { if (!Validate("ShapeLinkAdded")) { Invoker.ReleaseParamsArray(shape, dataRecordsetID, dataRowID); return; } NetOffice.VisioApi.IVShape newShape = Factory.CreateEventArgumentObjectFromComProxy(EventClass, shape) as NetOffice.VisioApi.IVShape; Int32 newDataRecordsetID = ToInt32(dataRecordsetID); Int32 newDataRowID = ToInt32(dataRowID); object[] paramsArray = new object[3]; paramsArray[0] = newShape; paramsArray[1] = newDataRecordsetID; paramsArray[2] = newDataRowID; EventBinding.RaiseCustomEvent("ShapeLinkAdded", ref paramsArray); }
public void ShapeLinkDeleted([In, MarshalAs(UnmanagedType.IDispatch)] object shape, [In] object dataRecordsetID, [In] object dataRowID) { Delegate[] recipients = _eventBinding.GetEventRecipients("ShapeLinkDeleted"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(shape, dataRecordsetID, dataRowID); return; } NetOffice.VisioApi.IVShape newShape = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, shape) as NetOffice.VisioApi.IVShape; Int32 newDataRecordsetID = Convert.ToInt32(dataRecordsetID); Int32 newDataRowID = Convert.ToInt32(dataRowID); object[] paramsArray = new object[3]; paramsArray[0] = newShape; paramsArray[1] = newDataRecordsetID; paramsArray[2] = newDataRowID; _eventBinding.RaiseCustomEvent("ShapeLinkDeleted", ref paramsArray); }
public void CenterViewOnShape(NetOffice.VisioApi.IVShape sheetObject, NetOffice.VisioApi.Enums.VisCenterViewFlags flags) { Factory.ExecuteMethod(this, "CenterViewOnShape", sheetObject, flags); }
public void Select(NetOffice.VisioApi.IVShape sheetObject, Int16 selectAction) { Factory.ExecuteMethod(this, "Select", sheetObject, selectAction); }
public NetOffice.VisioApi.IVShape[] GetAllRefreshConflicts() { object[] paramsArray = null; object returnItem = Invoker.MethodReturn(this, "GetAllRefreshConflicts", paramsArray); COMObject[] newObject = Factory.CreateObjectArrayFromComProxy(this, (object[])returnItem); NetOffice.VisioApi.IVShape[] returnArray = new NetOffice.VisioApi.IVShape[newObject.Length]; for (int i = 0; i < newObject.Length; i++) returnArray[i] = newObject[i] as NetOffice.VisioApi.IVShape; return returnArray; }
public void GlueToPos(NetOffice.VisioApi.IVShape sheetObject, Double xPercent, Double yPercent) { Factory.ExecuteMethod(this, "GlueToPos", sheetObject, xPercent, yPercent); }
public void RemoveRefreshConflict(NetOffice.VisioApi.IVShape shapeInConflict) { object[] paramsArray = Invoker.ValidateParamsArray(shapeInConflict); Invoker.Method(this, "RemoveRefreshConflict", paramsArray); }
public void CenterViewOnShape(NetOffice.VisioApi.IVShape sheetObject, NetOffice.VisioApi.Enums.VisCenterViewFlags flags) { InvokerService.InvokeInternal.ExecuteMethod(this, "CenterViewOnShape", sheetObject, flags); }
public NetOffice.VisioApi.Enums.VisContainerMemberState GetMemberState(NetOffice.VisioApi.IVShape shape) { return(Factory.ExecuteEnumMethodGet <NetOffice.VisioApi.Enums.VisContainerMemberState>(this, "GetMemberState", shape)); }
public NetOffice.VisioApi.IVValidationIssue AddIssue(NetOffice.VisioApi.IVPage targetPage, NetOffice.VisioApi.IVShape targetShape) { object[] paramsArray = Invoker.ValidateParamsArray(targetPage, targetShape); object returnItem = Invoker.MethodReturn(this, "AddIssue", paramsArray); NetOffice.VisioApi.IVValidationIssue newObject = NetOffice.Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.VisioApi.IVValidationIssue; return(newObject); }
public void Remove(NetOffice.VisioApi.IVShape sheetObject, Int16 fPresMems) { Factory.ExecuteMethod(this, "Remove", sheetObject, fPresMems); }
public void RemoveRefreshConflict(NetOffice.VisioApi.IVShape shapeInConflict) { Factory.ExecuteMethod(this, "RemoveRefreshConflict", shapeInConflict); }
public Int32 GetListMemberPosition(NetOffice.VisioApi.IVShape shapeMember) { return(Factory.ExecuteInt32MethodGet(this, "GetListMemberPosition", shapeMember)); }
public void GlueToPos(NetOffice.VisioApi.IVShape sheetObject, Double xPercent, Double yPercent) { object[] paramsArray = Invoker.ValidateParamsArray(sheetObject, xPercent, yPercent); Invoker.Method(this, "GlueToPos", paramsArray); }
public void Remove(NetOffice.VisioApi.IVShape sheetObject, Int16 fPresMems) { object[] paramsArray = Invoker.ValidateParamsArray(sheetObject, fPresMems); Invoker.Method(this, "Remove", paramsArray); }
public void Select(NetOffice.VisioApi.IVShape sheetObject, Int16 selectAction) { InvokerService.InvokeInternal.ExecuteMethod(this, "Select", sheetObject, selectAction); }