Compartir a través de


IDM_FONTSIZE Command ID

Sets or retrieves the font size for the current selection.

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_FONTSIZE
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaInVARIANT of type VT_I4 or VT_BSTR that specifies the font size. This must be a value between 1 and 7, inclusive.
pvaOutVARIANT of type VT_I4 that receives the font size. If the current selection uses more than one font size, pvaOut will return a VARIANT of type VT_NULL. Set pvaIn to NULL to retrieve information to pvaOut.
Header file mshtmcid.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Remarks

The HTML generated by this command may vary depending on the version of Windows Internet Explorer.

Minimum Availability

Internet Explorer 4.0 and later.