Sets or retrieves the font size for the current selection.
Scripting Information
Command FontSize execCommand vValue Required. String that specifies the font size, as described by the size attribute. This must be a value between 0 and 7, inclusive. Applies to execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue
C++ Information
Command group CGID_MSHTML Symbolic constant IDM_FONTSIZE User interface None IOleCommandTarget::Exec parameters
pvaIn Required. VT_I4 specifying the font size, as described by the size attribute. This must be a value between 0 and 7, inclusive. pvaOut VT_I4 specifying the font size, as described by the size attribute. This will be a value between 0 and 7, inclusive. Header file Mshtmcid.h Applies to IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus
Minimum Availability
Internet Explorer 4.0 and later