Sets up the print page scaling for a spreadsheet. This is a parameter of the VAPIM_PRINT message.
#include <kvvapi.h> SendMessage(hWndVAPI, VAPIM_PRINT, VAPIMWP_PRINT_PAGESETUP, 0L );
| Argument | Description |
|---|---|
hWndVAPI
|
The handle of the VAPI window. |
SendMessage() returns TRUE if the call succeeds; otherwise it returns FALSE.
Use this message to implement a Print Page Setup menu item or toolbar button.
|
|