Raises the System.Drawing.Printing.PrintDocument.QueryPageSettings event.
[Visual Basic] Overridable Protected Sub OnQueryPageSettings( _ ByVal e As PrintEventArgs _ ) [C#] protected virtual void OnQueryPageSettings( PrintEventArgs e ); [C++] protected: virtual void OnQueryPageSettings( PrintEventArgs* e ); [JScript] protected function OnQueryPageSettings( e : PrintEventArgs );
Raising an event invokes the event-handling method through a delegate. For an overview see TBD.
Notes to Inheritors: When overriding OnQueryPageSettings in a derived class, be sure to call the base class's OnQueryPageSettings method.
PrintDocument Class | PrintDocument Members | System.Drawing.Printing Namespace