Share via


RemoveTextFrag method

Removes the specified markup text fragment.

Syntax

HRESULT retVal = object.RemoveTextFrag(iFrag);

Parameters

  • iFrag [in]
    Type: long

    Value of type long that specifies the index of the markup text fragment to remove.

Return value

Type: HRESULT

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