SetSelectedPages

 

#include “BlackIceDEVMODE.h”

 

BOOL SetSelectedPages (BlackIceDEVMODE* pDevMode, LPCTSTR pValue);

 

Description

 

Sets the pages to print when the “Print Selected Pages Only” feature is enabled. The feature can be enabled using the SetPrintSelectedPagesOnly function.

Specify the page numbers and/or page ranges separated by commas counting from the start of the document.

For example: 1,2,5-12

 

Parameters

 

BlackIceDEVMODE* pDevMode

- pointer to the BlackIceDEVMODE structure.

LPCTSTR pValue

- string containing the list of pages.

 

Return value

 

TRUE on success, FALSE otherwise.

 

Programming Notes

 

None

 

Code Example

 

None