次の方法で共有


CHtmlEditCtrlBase::GetDocumentHTML

Retrieves the HTML of the current document.

HRESULT GetDocumentHTML( 
   CString& 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::SetDocumentHTML