pageTotal property
Sets or retrieves the page total that the HeaderFooter behavior uses when generating HTML for headers and footers.
Syntax
HRESULT value = object.put_pageTotal(DWORD v);HRESULT value = object.get_pageTotal(DWORD* p);
Property values
Type: DWORD
the total number of pages in the current print job.