NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrintDocument.AddOnQueryPageSettings

Adds an event handler for the OnQueryPageSettings event. The OnQueryPageSettings event occurs immediately before each page is printed; if you wish to change page settings in the middle of a print job, do it here.

[Visual Basic]
Public Sub AddOnQueryPageSettings( _
   ByVal handler As PrintEventHandler _
)
[C#]
public void AddOnQueryPageSettings(
   PrintEventHandler handler
);
[C++]
public: void AddOnQueryPageSettings(
   PrintEventHandler* handler
);
[JScript]
public function AddOnQueryPageSettings(
   handler : PrintEventHandler
);

Parameters

handler
New handler to install for this event.

See Also

PrintDocument Class | PrintDocument Members | System.Drawing.Printing Namespace