Spread WPF Documentation
WordWrap Property (Column)
Example 


Gets or sets whether to support word wrap.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property WordWrap As System.Boolean
'Usage
 
Dim instance As Column
Dim value As System.Boolean
 
instance.WordWrap = value
 
value = instance.WordWrap
[System.ComponentModel.DefaultValue()]
public System.bool WordWrap {get; set;}

Property Value

true if the content supports word wrap; otherwise, false. The default value is false.
Example
This example sets the WordWrap property.
GcSpreadSheet1.ActiveSheet.Cells[0, 0].WordWrap = true;
GcSpreadSheet1.ActiveSheet.Columns[1].WordWrap = true;
GcSpreadSheet1.ActiveSheet.Rows[1].WordWrap = true;
GcSpreadSheet1.ActiveSheet.Cells(0, 0).WordWrap = True
GcSpreadSheet1.ActiveSheet.Columns(1).WordWrap = True
GcSpreadSheet1.ActiveSheet.Rows(1).WordWrap = True
Requirements

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)

See Also

Reference

Column Class
Column Members

 

 


Copyright © GrapeCity, inc. All rights reserved.