public virtual Int32 RemoveSegment(NetOffice.MSHTMLApi.IHighlightSegment pISegment)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "RemoveSegment", pISegment));
 }
        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));
        }
 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));
 }