PrintForm.BeginPrint Event
Occurs when the Print method is called, before the first page of the document prints.
Namespace: Microsoft.VisualBasic.PowerPacks.Printing
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
[BrowsableAttribute(false)]
public event PrintEventHandler BeginPrint
public:
[BrowsableAttribute(false)]
event PrintEventHandler^ BeginPrint {
void add(PrintEventHandler^ value);
void remove(PrintEventHandler^ value);
}
[<BrowsableAttribute(false)>]
member BeginPrint : IEvent<PrintEventHandler,
PrintEventArgs>
<BrowsableAttribute(False)>
Public Event BeginPrint As PrintEventHandler
Remarks
The BeginPrint event handler is typically used to perform any tasks that need to be accomplished before printing.
See Also
PrintForm Class
Microsoft.VisualBasic.PowerPacks.Printing Namespace
PrintForm Component (Visual Basic)
How to: Print a Form by Using the PrintForm Component (Visual Basic)
How to: Print the Client Area of a Form (Visual Basic)
How to: Print Client and Non-Client Areas of a Form (Visual Basic)
How to: Print a Scrollable Form (Visual Basic)
Deploying Applications That Reference the PrintForm Component (Visual Basic)
Return to top