GetTextFragCount method

Retrieves a count of the markup text fragments in a markup container.

Syntax

HRESULT retVal = object.GetTextFragCount(pcFrags);

Parameters

  • pcFrags [out]
    Type: long

    Pointer to a variable of type long that receives the number of markup text fragments in the markup container.

Return value

Type: HRESULT

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