TXTextControl.TextControl.PrintPreview Method

Shows a print preview of the current document.

PrintPreview(String)

Shows a print preview of the current document.

[C#]
public void PrintPreview(string docName);
[Visual Basic]
Public Sub PrintPreview(ByVal docName As String)
Member Description
docName

Specifies the document's name.

PrintPreview(PrintDocument)

Shows a print preview of the current document using settings from the specified PrintDocument object.

[C#]
public void PrintPreview(System.Drawing.Printing.PrintDocument printDocument);
[Visual Basic]
Public Sub PrintPreview(ByVal printDocument As System.Drawing.Printing.PrintDocument)
Member Description
printDocument

Specifies an instance of the PrintDocument class.

See Also