ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

PrintInfo.PrintHorizontalSplits Property

Gets or sets a value indicating whether horizontal splits are previewed and printed.

[Visual Basic]

Public Property PrintHorizontalSplits As Boolean

[C#]

public bool PrintHorizontalSplits {get;set;}

[Delphi]

public property PrintHorizontalSplits: Boolean read get_PrintHorizontalSplits write set_PrintHorizontalSplits;

Example

The following code previews and prints horizontal splits in the grid:

·      Visual Basic

       Me.C1TrueDBGrid1.PrintInfo.PrintHorizontalSplits = True

       Me.C1TrueDBGrid1.PrintInfo.PrintPreview()

·      C#

       this.c1TrueDBGrid1.PrintInfo.PrintHorizontalSplits = true;

       this.c1TrueDBGrid1.PrintInfo.PrintPreview();

·      Delphi

       Self.C1TrueDBGrid1.PrintInfo.PrintHorizontalSplits := True;

       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.