Compartilhar via


FindTextFragFromMarkupPointer method

Looks for a markup text fragment at the location of a specified markup pointer.

Syntax

HRESULT retVal = object.FindTextFragFromMarkupPointer(pPointerFind, piFrag, pfFragFound);

Parameters

  • pPointerFind [in]
    Type: IMarkupPointer

    Pointer to an IMarkupPointer interface that specifies the markup pointer to check.

  • piFrag [out]
    Type: long

    Pointer to a variable of type long that receives the index of the text fragment, if there is one.

  • pfFragFound [out]
    Type: BOOL

    Pointer to a variable of type BOOL that receives TRUE if there is a text fragment at the location of the markup pointer, or FALSE otherwise.

Return value

Type: HRESULT

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