Share via


CHtmlEditCtrlBase::SetDocumentHTML

Sets the HTML of the current document.

HRESULT SetDocumentHTML( 
   LPCTSTR szHTML  
) const;

Parameters

  • szHTML
    The HTML.

Return Value

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase::GetDocumentHTML