次の方法で共有


CHtmlEditCtrlBase::Paragraph

Overwrites a line break on the current selection.

HRESULT Paragraph( 
   LPCTSTR szId = NULL  
) const;

Parameters

  • szId
    The ID for the paragraph.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class