IDM_TEMPLATE_PAGESETUP Command ID
Passes the print settings of the Page Setup dialog box.
C++ Information
Command group CGID_MSHTML (defined in mshtmhst.h) Symbolic constant IDM_TEMPLATE_PAGESETUP User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER. IOleCommandTarget::Exec parameters pvaInVARIANT of type VT_UNKNOWN the specifies an object that implements the IHTMLEventObj interface. The expando properties of the object can include the following:
- __IE_ActiveFrame (VT_INT)
- __IE_BaseLineScale (VT_INT)
- __IE_BrowseDocument (VT_UNKNOWN)
- __IE_ContentDocumentUrl (VT_BSTR)
- __IE_ContentSelectionUrl (VT_BSTR)
- __IE_DisplayUrl (VT_BSTR)
- __IE_FooterString (VT_BSTR)
- __IE_HeaderString (VT_BSTR)
- __IE_OutlookHeader (VT_UNKNOWN)
- __IE_PrinterCmd_DevMode (VT_I4)
- __IE_PrinterCmd_DevNames (VT_I4)
- __IE_PrinterCMD_Printer (VT_BSTR)
- __IE_PrinterCMD_Device (VT_BSTR)
- __IE_PrinterCMD_Port (VT_BSTR)
- __IE_PrintType (VT_BSTR)
- __IE_TemplateUrl (VT_BSTR)
- __IE_TemporaryFiles (VT_ARRAY|VT_EMPTY)
- __IE_uPrintFlags (VT_UINT)
pvaOut Set to NULL.Header file mshtmcid.h Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.
Minimum Availability
Internet Explorer 4.0 and later.