Share via


FormatBlock Command

Sets the current block format tag.

Scripting Information

Command FormatBlock
User interface None. Set bUserInterface to false. 
execCommand vValue Required. String that specifies a valid block format tag.
Applies to execCommandqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValue.

Remarks

The available block formatting strings may change in subsequent releases of the MSHTML component. Call IOleCommandTarget::Exec with the IDM_GETBLOCKFMTS Command ID to obtain the current list of available block formatting commands that can be passed with the FormatBlock Command ID.

Minimum Availability

Internet Explorer 4.0 and later.