Prints a Text Control document or a part of a document.
public void Print(string docName);
Public Sub Print(ByVal docName As String)
public void Print(System.Drawing.Printing.PrintDocument printDocument);
Public Sub Print(ByVal printDocument As System.Drawing.Printing.PrintDocument)
public void Print(int page, System.Drawing.Printing.PrintPageEventArgs ppe);
Public Sub Print(ByVal page As Integer, ByVal ppe As System.Drawing.Printing.PrintPageEventArgs)
Parameter | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
doc |
Specifies the document's name. | ||||||||||||||||||||||
print |
Specifies an instance of the Print
|
||||||||||||||||||||||
page | Specifies a page number to print. | ||||||||||||||||||||||
ppe | Specifies the event arguments of the print document's Print |