SetTextStampPages

 

#include “BlackIceDEVMODE.h”

 

BOOL SetTextStampPages (BlackIceDEVMODE* pBlackIceDevMode, LPTSTR pStr, DWORD* dwSize);

 

Description

 

Sets the pages the Text Stamp/Watermark appears on. The string should contain the pages and page ranges separated by commas the same way it is entered on the user interface. E.g.: “1-3,5,6”. An empty string means the Text Stamp/Watermark appears on all pages.

 

Parameters

 

BlackIceDEVMODE* pDevMode  

- pointer to the BlackIceDEVMODE structure.

LPTSTR pStr                               

- buffer for the string listing the pages

DWORD* dwSize                        

- pointer to variable that contains the length of pStr in bytes.

 

Return value

 

TRUE on success, otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None