
Overloaded. Prints a Text Control document or a part of a document. The first implemention uses the printer settings of the specified PrintDocument for printing the document. The second implementaition prints a single page. This method can be called from the PrintPage event handler.
[C#]
public void Print(PrintDocument printDocument);
public void Print(int page, PrintPageEventArgs ppe);
[Visual Basic]
Public Sub Print(ByVal printDocument As PrintDocument)
Public Sub Print(ByVal page As Integer, ByVal ppe As PrintPageEventArgs)
| Member | Description | ||||||||||||||||||||||||||||||||||
| printDocument | Specifies an instance of the PrintDocument class. The following settings of the PrintDocument object are used:
| ||||||||||||||||||||||||||||||||||
| page | Specifies a page number to print. | ||||||||||||||||||||||||||||||||||
| ppe | Specifies the event arguments of the print document's PrintPage event. |