共用方式為


CHtmlEditCtrlBase::Indent

Increases the indent of the selected text by one indentation increment.

HRESULT Indent( ) const;

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members

CHtmlEditCtrlBase::Outdent