ITemplatePrinter3::getPageMarginLeftImportant Method

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

Syntax


HRESULT getPageMarginLeftImportant(
    IDispatch *pageRule,
    VARIANT_BOOL *pbImportant
);

Parameters

pageRule
[in] IDispatch pointer that specifies an IHTMLStyleSheetPage rule.
pbImportant
[out, retval] Returns VARIANT_TRUE if the specified rule is !important; VARIANT_FALSE otherwise.

Return Value

Returns S_OK if successful, or E_ACCESSDENIED if the current document is not a print template.

Remarks

ITemplatePrinter3::getPageMarginLeftImportant was introduced in Windows Internet Explorer 8.

Show: