ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.PreviewInfo Property

Gets the PrintPreviewWinSettings object.

[Visual Basic]

Public ReadOnly Property PreviewInfo As PrintPreviewWinSettings

[C#]

public PrintPreviewWinSettings PreviewInfo {get;}

[Delphi]

public property PreviewInfo: PrintPreviewWinSettings read get_PreviewInfo;

Example

The following code uses the PreviewInfo property to set the zoom factor for the print preview window:

·      Visual Basic

       Me.C1TrueDBGrid1.PreviewInfo.ZoomFactor = 150

       Me.C1TrueDBGrid1.PrintInfo.PrintPreview()

·      C#

       this.c1TrueDBGrid1.PreviewInfo.ZoomFactor = 150;

       this.c1TrueDBGrid1.PrintInfo.PrintPreview();

·      Delphi

       Self.C1TrueDBGrid.PreviewInfo.ZoomFactor := 150;

       Self.C1TrueDBGrid1.PrintInfo.PrintPreview;

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.