Spread Windows Forms 9.0 Product Documentation
SheetCornerData Property
Example 


Gets or sets the sheet corner data model
Syntax
'Declaration
 
Public Property SheetCornerData As ISheetDataModel
'Usage
 
Dim instance As SheetView.DocumentModels
Dim value As ISheetDataModel
 
instance.SheetCornerData = value
 
value = instance.SheetCornerData
public ISheetDataModel SheetCornerData {get; set;}

Property Value

The sheet corner data.
Example
This example sets the SheetCornerData property.
fpSpread1.Sheets[0].RowHeader.ColumnCount = 2;
fpSpread1.Sheets[0].ColumnHeader.RowCount = 2;
FarPoint.Win.Spread.StyleInfo stylei = new FarPoint.Win.Spread.StyleInfo();
stylei.BackColor = Color.Bisque;
FarPoint.Win.Spread.SheetView.DocumentModels dm = new FarPoint.Win.Spread.SheetView.DocumentModels();
dm = fpSpread1.ActiveSheet.Models;
dm.SheetCornerData.SetValue(0, 0, "Corner");
dm.SheetCornerSpan.Add(0, 0, 2, 2);
dm.SheetCornerStyle.SetDirectInfo(0, 0, stylei);
FpSpread1.Sheets(0).RowHeader.ColumnCount = 2
FpSpread1.Sheets(0).ColumnHeader.RowCount = 2
Dim stylei As New FarPoint.Win.Spread.StyleInfo()
stylei.BackColor = Color.Bisque
Dim dm As New FarPoint.Win.Spread.SheetView.DocumentModels()
dm = FpSpread1.ActiveSheet.Models
dm.SheetCornerData.SetValue(0, 0, "Corner")
dm.SheetCornerSpan.Add(0, 0, 2, 2)
dm.SheetCornerStyle.SetDirectInfo(0, 0, stylei)
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

SheetView.DocumentModels Class
SheetView.DocumentModels Members

 

 


Copyright © GrapeCity, inc. All rights reserved.