Opens a separate application window in which end users can preview the output that would be generated by the print operation.
[Visual Basic]
Public Sub PrintPreview()
[C#]
public void PrintPreview()
[Delphi]
public procedure PrintPreview();
Example
The following code opens a PrintPreview window that displays the outout generated by the print operation:
' Invoke print preview.
Me.C1TrueDBGrid1.PrintInfo.PrintPreview()
· C#
// Invoke print preview.
this.c1TrueDBGrid1.PrintInfo.PrintPreview();
· Delphi
// Invoke print preview.
Self.C1TrueDBGrid1.PrintInfo.PrintPreview;
For an example using the PrintPreview method, see Tutorial 22 - Borders, Scroll Tracking, and Scroll Tips.
See Also
PrintInfo Class | PrintInfo Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |