Gets or sets a value that controls how text is wrapped in a cell.
[Visual Basic]
Public Property WrapText As PrintInfo+WrapTextEnum
[C#]
public PrintInfo+WrapTextEnum WrapText {get;set;}
[Delphi]
public property WrapText: PrintInfo+WrapTextEnum read get_WrapText write set_WrapText;
Example
The following code always wraps the text in the grid's cells:
Me.C1TrueDBGrid1.PrintInfo.WrapText = C1.Win.C1TrueDBGrid.PrintInfo.WrapTextEnum.Wrap
' Invoke print preview.
Me.C1TrueDBGrid1.PrintInfo.PrintPreview()
· C#
this.c1TrueDBGrid1.PrintInfo.WrapText = C1.Win.C1TrueDBGrid.PrintInfo.WrapTextEnum.Wrap;
// Invoke print preview.
this.c1TrueDBGrid1.PrintInfo.PrintPreview();
· Delphi
Self.C1TrueDBGrid1.PrintInfo.WrapText := C1.Win.C1TrueDBGrid.PrintInfo.WrapTextEnum.Wrap;
// 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. |