IsInsideURL method

Determines if a markup pointer is located inside of, at the beginning of, or at the end of text that is formatted as a URL.


HRESULT retVal = object.IsInsideURL(pRight, pfResult);


pRight [in]

Type: IMarkupPointer

Pointer to an IMarkupPointer interface for the markup pointer at which to check for URL formatting.

pfResult [out]

Type: BOOL

Pointer to a variable of type BOOL that receives TRUE if the markup pointer is located in or next to text that is formatted as a URL, or FALSE otherwise.

Return value


If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.