Contents Index Topic Contents | ||
Previous Topic: IPrint::Print Next Topic: Structures |
IPrint::SetInitialPageNum
HRESULT SetInitialPageNum( LONG nFirstPage );Sets the number of the first page of a document.
- Returns one of the following values:
S_OK Success. E_FAIL The method was not successful. E_UNEXPECTED The method was called when the object was not expecting it.
- nFirstPage
- [in] Desired number of the first page.
Setting the first page to a negative number is valid. This can be useful in printing a portion of the document with page numbers that specify an offset from the usual pagination.
Not all implementations permit the initial page number to be set, as some implementations simply lack the information as to how the page number should be presented in the final output.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.