IHeaderFooter::pageTotal Property

Sets or retrieves the page total that the HeaderFooter behavior uses when generating HTML for headers and footers.

Syntax

HRESULT IHeaderFooter::get_pageTotal(DWORD *p);
HRESULT IHeaderFooter::put_pageTotal(DWORD v);

Parameters

  • p
    Pointer to a variable of type DWORD that receives the total number of pages in the current print job.
  • v
    DWORD that specifies the total number of pages in the current print job.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHeaderFooter::page