Ejemplo n.º 1
0
        public Int32 SheetFollowHyperlink(object sh, NetOffice.ExcelApi.Hyperlink target)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(sh, target);
            object   returnItem  = Invoker.MethodReturn(this, "SheetFollowHyperlink", paramsArray);

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Ejemplo n.º 2
0
        public void FollowHyperlink([In, MarshalAs(UnmanagedType.IDispatch)] object target)
        {
            if (!Validate("FollowHyperlink"))
            {
                Invoker.ReleaseParamsArray(target);
                return;
            }

            NetOffice.ExcelApi.Hyperlink newTarget = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.Hyperlink>(EventClass, target, NetOffice.ExcelApi.Hyperlink.LateBindingApiWrapperType);
            object[] paramsArray = new object[1];
            paramsArray[0] = newTarget;
            EventBinding.RaiseCustomEvent("FollowHyperlink", ref paramsArray);
        }
Ejemplo n.º 3
0
        public void FollowHyperlink([In, MarshalAs(UnmanagedType.IDispatch)] object target)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("FollowHyperlink");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(target);
                return;
            }

            NetOffice.ExcelApi.Hyperlink newTarget = Factory.CreateObjectFromComProxy(_eventClass, target) as NetOffice.ExcelApi.Hyperlink;
            object[] paramsArray = new object[1];
            paramsArray[0] = newTarget;
            _eventBinding.RaiseCustomEvent("FollowHyperlink", ref paramsArray);
        }
Ejemplo n.º 4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sh"></param>
        /// <param name="target"></param>
        public void SheetFollowHyperlink([In, MarshalAs(UnmanagedType.IDispatch)] object sh, [In, MarshalAs(UnmanagedType.IDispatch)] object target)
        {
            if (!Validate("SheetFollowHyperlink"))
            {
                Invoker.ReleaseParamsArray(sh, target);
                return;
            }

            object newSh = Factory.CreateEventArgumentObjectFromComProxy(EventClass, sh) as object;

            NetOffice.ExcelApi.Hyperlink newTarget = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.Hyperlink>(EventClass, target, typeof(NetOffice.ExcelApi.Hyperlink));
            object[] paramsArray = new object[2];
            paramsArray[0] = newSh;
            paramsArray[1] = newTarget;
            EventBinding.RaiseCustomEvent("SheetFollowHyperlink", ref paramsArray);
        }
Ejemplo n.º 5
0
 public Int32 SheetFollowHyperlink(object sh, NetOffice.ExcelApi.Hyperlink target)
 {
     return(Factory.ExecuteInt32MethodGet(this, "SheetFollowHyperlink", sh, target));
 }
Ejemplo n.º 6
0
 public Int32 FollowHyperlink(NetOffice.ExcelApi.Hyperlink target)
 {
     return(Factory.ExecuteInt32MethodGet(this, "FollowHyperlink", target));
 }