| Visual Basic (Declaration) | |
|---|---|
Public Enum WrapMode Inherits System.Enum  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As WrapMode  | |
| C# | |
|---|---|
public enum WrapMode : System.Enum  | |
| Member | Description | 
|---|---|
| CharWrap | Wraps the text by characters. | 
| NoWrap | Does not wrap. | 
| WordWrap | Wraps the text by words. | 
This example uses the WrapMode enumeration.
             
            
            | C# |  Copy Code | 
|---|---|
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType(); textcell.WrapMode = GrapeCity.Win.Spread.InputMan.CellType.WrapMode.WordWrap; textcell.Multiline = true; fpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;  | |
| VB.NET |  Copy Code | 
|---|---|
Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType() textcell.WrapMode = GrapeCity.Win.Spread.InputMan.CellType.WrapMode.WordWrap textcell.Multiline = True FpSpread1.Sheets(0).Cells(0, 0).CellType = textcell  | |
System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.WrapMode
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8