[]
Prints the current document.
public void Print()
Prints the current document.
public void Print(bool selectPrinter)
Type | Name | Description |
---|---|---|
bool | selectPrinter | Determines whether a printer selection dialog box is displayed. |
If selectPrinter
is True, the Print dialog box opens before printing, so the user can select a printer and change settings.
If selectPrinter
is False, then the current page is printed.
Prints the current document.
public void Print(bool selectPrinter, string printTemplateFileName)
Type | Name | Description |
---|---|---|
bool | selectPrinter | Determines whether a printer selection dialog box is displayed. |
string | printTemplateFileName | File name of a print template. |
If selectPrinter
is True, the Print dialog box opens before printing, so the user can select a printer and change settings.
If selectPrinter
is False, then the current page is printed.
The specified print template is used.
For details about print templates see
http://msdn.microsoft.com/en-us/library/aa753279(VS.85).aspx