ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

PrintInfo.RepeatColumnFooters Property

Gets or sets a value indicating whether column footers should appear on each page.

[Visual Basic]

Public Property RepeatColumnFooters As Boolean

[C#]

public bool RepeatColumnFooters {get;set;}

[Delphi]

public property RepeatColumnFooters: Boolean read get_RepeatColumnFooters write set_RepeatColumnFooters;

Remarks

If True, column footers are printed at the bottom of each physical page.

If False (the default), column footers are printed on the last page only.

Note: If the C1TrueDBGrid.ColumnFooters property of the associated C1TrueDBGrid control is False, then column footers are not printed, regardless of the setting of this property.

Example

The following example prints column footers at the bottom of each page:

·      Visual Basic

       ' Column headers will be on every page.

       Me.C1TrueDBGrid1.PrintInfo.RepeatColumnFooters = True

       ' Invoke print preview.

       Me.C1TrueDBGrid1.PrintInfo.PrintPreview()

·      C#

       // Column headers will be on every page.

       this.c1TrueDBGrid1.PrintInfo.RepeatColumnFooters = true;

       // Invoke print preview.

       this.c1TrueDBGrid1.PrintInfo.PrintPreview();

·      Delphi

       // Column headers will be on every page.

       Self.C1TrueDBGrid1.PrintInfo.RepeatColumnFooters := True;

       // 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.