Spread Windows Forms 11.0 Product Documentation
RowHeaderSpan Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView.DocumentModels Class : RowHeaderSpan Property
Gets or sets the row header span model.
Syntax
'Declaration
 
Public Property RowHeaderSpan As ISheetSpanModel
'Usage
 
Dim instance As SheetView.DocumentModels
Dim value As ISheetSpanModel
 
instance.RowHeaderSpan = value
 
value = instance.RowHeaderSpan
public ISheetSpanModel RowHeaderSpan {get; set;}

Property Value

ISheetSpanModel object containing the span model
Exceptions
ExceptionDescription
Model is not specified (or specified value is null)
Example
This example adds a span to the row headers.
FarPoint.Win.Spread.SheetView.DocumentModels dm = new FarPoint.Win.Spread.SheetView.DocumentModels();
dm = fpSpread1.ActiveSheet.Models;
fpSpread1.ActiveSheet.RowHeaderColumnCount = 4;
dm.RowHeaderSpan.Add(0, 0, 2, 2);
Dim dm As New FarPoint.Win.Spread.SheetView.DocumentModels()
dm = FpSpread1.ActiveSheet.Models
FpSpread1.ActiveSheet.RowHeaderColumnCount = 4
dm.RowHeaderSpan.Add(0, 0, 2, 2)
See Also

Reference

SheetView.DocumentModels Class
SheetView.DocumentModels Members