TX Text Control .NET for Windows Forms Documentation

DocumentServer.MailMerge.Print Method

Prints the merged document. It uses the settings of the specified PrintDocument.

Syntax

[C#] public void Print(PrintDocument printDocument);
[Visual Basic] Public Sub Print(ByVal printDocument As PrintDocument)
MemberDescription
printDocument

Specifies an instance of the PrintDocument class. Text Control uses the following settings of this object:


SettingMeaning
DocumentNameSpecifies the document's name.
PrintControllerSpecifies the document's print controller.
PrinterSettings.FromPageThe first page to print.
PrinterSettings.ToPageThe last page to print.
PrinterSettings.CopiesThe number of copies to print.
PrinterSettings.CollateSpecifies how the printed pages are sorted.
PrinterSettings.PrinterNameSpecifies the name of the printer.
PrinterSettings.PrintToFileSpecifies whether the printed pages are saved in a file.
PrinterSettings.PrintRangeSpecifies the range of pages to print.
DefaultPageSettings.ColorSpecifies whether the printed pages are printed colored.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now