Gets or sets the height of the Page header.
[Visual Basic]
Public Property PageHeaderHeight As Integer
[C#]
public int PageHeaderHeight {get;set;}
[Delphi]
public property PageHeaderHeight: Int32 read get_PageHeaderHeight write set_PageHeaderHeight;
Example
The following example sets the height of the page header:
Me.C1TrueDBGrid1.PrintInfo.PageHeader = "Customers Table"
Me.C1TrueDBGrid1.PrintInfo.PageHeaderHeight = 50
' Invoke print preview.
Me.C1TrueDBGrid1.PrintInfo.PrintPreview()
· C#
this.c1TrueDBGrid1.PrintInfo.PageHeader = "Customers Table";
this.c1TrueDBGrid1.PrintInfo.PageHeaderHeight = 50;
// Invoke print preview.
this.c1TrueDBGrid1.PrintInfo.PrintPreview();
· Delphi
Self.C1TrueDBGrid1.PrintInfo.PageHeader := 'Customers Table';
Self.C1TrueDBGrid1.PrintInfo.PageHeaderHeight := 50;
// Invoke print preview.
Self.C1TrueDBGrid1.PrintInfo.PrintPreview;
See Also
PrintInfo Class | PrintInfo Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |