Spread Windows Forms 10.0 Product Documentation
WrapMode Enumeration
Example Example 


Represents how to wrap the line when it is beyond the width of the view.
Syntax
'Declaration
 
Public Enum WrapMode 
   Inherits System.Enum
'Usage
 
Dim instance As WrapMode
public enum WrapMode : System.Enum 
Members
MemberDescription
CharWrapWraps the text by characters.
NoWrapDoes not wrap.
WordWrapWraps the text by words.
Example
This example uses the WrapMode enumeration.
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;
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.WrapMode

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

GrapeCity.Win.Spread.InputMan.CellType Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.