Partager via


CHtmlEditCtrlBase::SetCSSEditingLevel

Selects which CSS level (CSS1 or CSS2) the editor will support, if any.

HRESULT SetCSSEditingLevel(
   short nLevel 
) const;

Parameters

  • nLevel
    The CSS level. Pass 0 if you do not want CSS support.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

Other Resources

CHtmlEditCtrlBase Members