ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

PrintInfo.MaxRowHeight Property

Gets or sets the maximum row height in hundredths of an inch.

[Visual Basic]

Public Property MaxRowHeight As Integer

[C#]

public int MaxRowHeight {get;set;}

[Delphi]

public property MaxRowHeight: Int32 read get_MaxRowHeight write set_MaxRowHeight;

Example

The following example sets the maximum row height for the grid:

·      Visual Basic

       Me.C1TrueDBGrid1.PrintInfo.MaxRowHeight = 50

       ' Invoke print preview.

       Me.C1TrueDBGrid1.PrintInfo.PrintPreview()

·      C#

       this.c1TrueDBGrid1.PrintInfo.MaxRowHeight = 50;

       // Invoke print preview.

       this.c1TrueDBGrid1.PrintInfo.PrintPreview();

·      Delphi

       Self.C1TrueDBGrid1.PrintInfo.MaxRowHeight := 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.