GrapeCity.Xaml.SpreadSheet.Data
DefaultRowHeight Property (Worksheet)
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : DefaultRowHeight Property
Gets or sets the default row height.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property DefaultRowHeight As Double
'Usage
 
Dim instance As Worksheet
Dim value As Double
 
instance.DefaultRowHeight = value
 
value = instance.DefaultRowHeight
[DefaultValue()]
public double DefaultRowHeight {get; set;}

Property Value

The default height of the row.
Example
This example uses the DefaultRowHeight property.
gcSpreadSheet1.Sheets[0].DefaultColumnWidth = 30;
gcSpreadSheet1.Sheets[0].DefaultRowHeight = 20;
gcSpreadSheet1.Sheets[0].Cells(0, 0).Text = "test";
gcSpreadSheet1.Sheets[0].ReferenceStyle = GrapeCity.Xaml.SpreadSheet.Data.ReferenceStyle.A1;
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].LastNonEmptyRowIndex.ToString());
GcSpreadSheet1.Sheets(0).DefaultColumnWidth = 30
GcSpreadSheet1.Sheets(0).DefaultRowHeight = 20
GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "test"
GcSpreadSheet1.Sheets(0).ReferenceStyle = GrapeCity.Xaml.SpreadSheet.Data.ReferenceStyle.A1
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).LastNonEmptyRowIndex.ToString())
See Also

Reference

Worksheet Class
Worksheet Members