共用方式為


CHtmlEditCtrlBase::GetBlockFormatNames

Retrieves the strings corresponding to the available block format tags.

HRESULT GetBlockFormatNames(
   CStringArray& sa 
) const;

Parameters

  • sa
    The available block format tags, as an array of strings.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method sends the IDM_GETBLOCKFMTS command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members

CHtmlEditCtrlBase::GetBlockFormat