Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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