次の方法で共有


CHtmlEditCtrlBase::HorizontalLine

Overwrites a horizontal line on the current selection.

HRESULT HorizontalLine( 
   LPCTSTR szId = NULL  
) const;

Parameters

  • szID
    The ID for the horizontal line.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class