ITemplatePrinter3 interface

Extends ITemplatePrinter2 to retrieve author-specified page margins and to modify the font used for page header and footer.

Members

The ITemplatePrinter3 interface inherits from ITemplatePrinter2. ITemplatePrinter3 also has these types of members:

  • Methods
  • Properties

Methods

The ITemplatePrinter3 interface has these methods.

Method Description
getPageMarginBottom

Returns size of bottom margin from a specified @page rule and page dimensions.

getPageMarginBottomImportant

Retrieves whether the bottom margin of the specified @page rule is marked as !important.

getPageMarginLeft

Returns size of left margin from a specified @page rule and page dimensions.

getPageMarginLeftImportant

Retrieves whether the left margin of the specified @page rule is marked as !important.

getPageMarginRight

Returns size of right margin from a specified @page rule and page dimensions.

getPageMarginRightImportant

Retrieves whether the right margin of the specified @page rule is marked as !important.

getPageMarginTop

Returns size of top margin from a specified @page rule and page dimensions.

getPageMarginTopImportant

Retrieves whether the top margin of the specified @page rule is marked as !important.

 

Properties

The ITemplatePrinter3 interface has these properties.

Property Description

headerFooterFont

Sets or retrieves a combination of strings that define font properties of the header and footer.

 

Remarks

ITemplatePrinter3 was introduced in Windows Internet Explorer 8.

In Windows Internet Explorer 9, the ITemplatePrinter3 interface was moved to mshtml.idl. In earlier versions of Windows Internet Explorer, include iextag.idl for an interface declaration.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Iepeers.dll