Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnStarting( _ ByVal e As PrintPageEventArgs _ ) |
C# | |
---|---|
protected virtual void OnStarting( PrintPageEventArgs e ) |
Parameters
- e
- a
PrintPageEventArgs
, which this event should not modify
If you override this, be sure to call the base method.
You may want to override this method or implement an event handler to set various PrintManager properties such as Scale and Margin given the available PrintableArea
based on the chosen printer.