Share via


CHtmlEditCtrlBase::SetBlockFormat

Establezca la etiqueta actual de formato de bloque.

HRESULT SetBlockFormat(
   LPCTSTR szFormat 
) const;

Parámetros

  • szFormat
    La etiqueta de formato.

Valor devuelto

Devuelve S_OK en correctamente, o un error HRESULT del error.

Comentarios

Este método envía identificador de IDM_BLOCKFMT_command el control WebBrowser.

Requisitos

encabezado: afxhtml.h

Vea también

Referencia

Clase de CHtmlEditCtrlBase

CHtmlEditCtrlBase::GetBlockFormat