CHtmlEditCtrlBase::GetFontFace
Retrieves the font name for the current selection.
HRESULT GetFontFace(
CString& strFace
) const;
Parameters
- strFace
The font name.
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Remarks
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.
Requirements
Header: afxhtml.h
See Also
Reference
CHtmlEditCtrlBase::SetFontFace
CHtmlEditCtrlBase::GetFontSize