示例#1
0
        public virtual Int32 IsRightOf(NetOffice.MSHTMLApi.IDisplayPointer pDispPointer, out Int32 pfIsRightOf)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            pfIsRightOf = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(pDispPointer, pfIsRightOf);
            object   returnItem  = Invoker.MethodReturn(this, "IsRightOf", paramsArray, modifiers);

            pfIsRightOf = (Int32)paramsArray[1];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public virtual Int32 AddSegment(NetOffice.MSHTMLApi.IDisplayPointer pDispPointerStart, NetOffice.MSHTMLApi.IDisplayPointer pDispPointerEnd, NetOffice.MSHTMLApi.IHTMLRenderStyle pIRenderStyle, out NetOffice.MSHTMLApi.IHighlightSegment ppISegment)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, false, false, true);
            ppISegment = null;
            object[] paramsArray = Invoker.ValidateParamsArray(pDispPointerStart, pDispPointerEnd, pIRenderStyle, ppISegment);
            object   returnItem  = Invoker.MethodReturn(this, "AddSegment", paramsArray, modifiers);

            if (paramsArray[3] is MarshalByRefObject)
            {
                ppISegment = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHighlightSegment>(this, paramsArray[3], typeof(NetOffice.MSHTMLApi.IHighlightSegment));
            }
            else
            {
                ppISegment = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
示例#3
0
        public virtual Int32 CreateDisplayPointer(out NetOffice.MSHTMLApi.IDisplayPointer ppDispPointer)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
            ppDispPointer = null;
            object[] paramsArray = Invoker.ValidateParamsArray(ppDispPointer);
            object   returnItem  = Invoker.MethodReturn(this, "CreateDisplayPointer", paramsArray, modifiers);

            if (paramsArray[0] is MarshalByRefObject)
            {
                ppDispPointer = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IDisplayPointer>(this, paramsArray[0], typeof(NetOffice.MSHTMLApi.IDisplayPointer));
            }
            else
            {
                ppDispPointer = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
示例#4
0
 public virtual Int32 MoveToMarkupPointer(NetOffice.MSHTMLApi.IMarkupPointer pPointer, NetOffice.MSHTMLApi.IDisplayPointer pDispLineContext)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToMarkupPointer", pPointer, pDispLineContext));
 }
示例#5
0
 public virtual Int32 MoveToPointer(NetOffice.MSHTMLApi.IDisplayPointer pDispPointer)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToPointer", pDispPointer));
 }
 public virtual Int32 MoveSegmentToPointers(NetOffice.MSHTMLApi.IHighlightSegment pISegment, NetOffice.MSHTMLApi.IDisplayPointer pDispPointerStart, NetOffice.MSHTMLApi.IDisplayPointer pDispPointerEnd)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveSegmentToPointers", pISegment, pDispPointerStart, pDispPointerEnd));
 }
示例#7
0
 public virtual Int32 MoveToSelectionEndEx(NetOffice.MSHTMLApi.IDisplayPointer pIEndAnchor)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToSelectionEndEx", pIEndAnchor));
 }
示例#8
0
 public virtual Int32 MoveCaretToPointer(NetOffice.MSHTMLApi.IDisplayPointer pDispPointer, Int32 fScrollIntoView, NetOffice.MSHTMLApi.Enums._CARET_DIRECTION eDir)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveCaretToPointer", pDispPointer, fScrollIntoView, eDir));
 }