GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfo Class : IsWordWrapSet Method |
'Declaration Public Overridable Function IsWordWrapSet() As System.Boolean
'Usage Dim instance As StyleInfo Dim value As System.Boolean value = instance.IsWordWrapSet()
public virtual System.bool IsWordWrapSet()
true
if the word wrap of the cell contents (WordWrap property) is set; otherwise, false
.GrapeCity.Windows.SpreadSheet.Data.StyleInfo style = new GrapeCity.Windows.SpreadSheet.Data.StyleInfo(); style.WordWrap = true; style.Name = "Style1"; GcSpreadSheet1.ActiveSheet.NamedStyles.Add(style); GcSpreadSheet1.ActiveSheet.Cells[0, 0].StyleName = "Style1"; ListBox1.Items.Add(style.IsWordWrapSet.ToString()); //style.ResetWordWrap();
Dim style As New GrapeCity.Windows.SpreadSheet.Data.StyleInfo() style.WordWrap = True style.Name = "Style1" GcSpreadSheet1.ActiveSheet.NamedStyles.Add(style) GcSpreadSheet1.ActiveSheet.Cells(0, 0).StyleName = "Style1" ListBox1.Items.Add(style.IsWordWrapSet.ToString()) 'style.ResetWordWrap()
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)