CHtmlEditCtrlBase::SetFontFace
Sets the font for the current selection.
HRESULT SetFontFace(
LPCTSTR szFace
) const;
- szFace
The font name.
Returns S_OK on success, or an error HRESULT on failure.
This method sends the IDM FONTNAME Command ID to the WebBrowser control.
Header: afxhtml.h