Udostępnij za pośrednictwem


CHtmlEditCtrlBase::JustifyCenter

Centers the format block in which the current selection is located.

HRESULT JustifyCenter( ) const;

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase::JustifyLeft

CHtmlEditCtrlBase::JustifyRight

Other Resources

CHtmlEditCtrlBase Members