CHtmlEditCtrlBase::GetFontFace
Retrieves the font name for the current selection.
HRESULT GetFontFace(
CString& strFace
) const;
- strFace
The font name.
Returns S_OK on success, or an error HRESULT on failure.
If the current selection uses more than one font, strFace will be an empty string.
This method sends the IDM_FONTNAME command ID to the WebBrowser control.
Header: afxhtml.h
CHtmlEditCtrlBase::SetFontFace