Click to return to the DHTML, HTML     
ForeColor Command | IDM_F...     IDM_FONT Command ID     Command Identifiers    
Web Workshop  |  DHTML, HTML & CSS

FormatBlock Command | IDM_BLOCKFMT Command ID


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



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.