Sets or retrieves the current block format tag.
Scripting Information
Command FormatBlock execCommand vValue Optional. String that specifies a valid block formatting tag. Applies to execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue
C++ Information
Command group CGID_MSHTML Symbolic constant IDM_BLOCKFMT User interface None IOleCommandTarget::Exec parameters
pvaIn Optional. BSTR specifying a valid block format tag. pvaOut Optional. BSTR representing a valid block format tag. Header file Mshtmcid.h Applies to IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus
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 IDM_BLOCKFMT Command ID.
Minimum Availability
Internet Explorer 4 and later