Gets or sets whether the cell allows multiple lines of text.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property Multiline As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GeneralCellType
Dim value As Boolean
instance.Multiline = value
value = instance.Multiline |
C# | |
---|
public virtual bool Multiline {get; set;} |
Property Value
true if multiple lines are allowed;
false otherwise
Remarks
Example
C# | Copy Code |
---|
FarPoint.Web.Spread.GeneralCellType g = new FarPoint.Web.Spread.GeneralCellType();
g.Multiline = true;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = g;
FpSpread1.ActiveSheetView.Cells[0, 0].Text = "This is a test for multiline";
|
Visual Basic | Copy Code |
---|
Dim g As New FarPoint.Web.Spread.GeneralCellType
g.Multiline = True
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = g
FpSpread1.ActiveSheetView.Cells(0, 0).Text = "This is a test for multiline" |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also