Spread for ASP.NET 8.0 Product Documentation
SheetCorner Property (SheetView)
Example 


Gets the sheet corner for the sheet.
Syntax
'Declaration
 
Public ReadOnly Property SheetCorner As SheetCorner
'Usage
 
Dim instance As SheetView
Dim value As SheetCorner
 
value = instance.SheetCorner
public SheetCorner SheetCorner {get;}

Property Value

SheetCorner object containing the sheet corner
Example
This example gets the SheetCorner property.
FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView;
FarPoint.Web.Spread.StyleInfo info = new FarPoint.Web.Spread.StyleInfo();
info.Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Teal, 2);
sv.SheetCorner.ColumnCount = 3;
sv.SheetCorner.RowCount = 3;
sv.SheetCornerSpanModel.Add(0, 0, 2, 2);
sv.SheetCornerStyleModel.SetDirectInfo(0, 0, info);
sv.SheetCornerRowAxisModel.SetSize(0, 100);
sv.SheetCornerColumnAxisModel.SetSize(0, 100);
FpSpread1.Sheets.Add(sv);
ListBox1.Items.Add(sv.SheetCornerDataModel.ColumnCount.ToString());
ListBox1.Items.Add(sv.SheetCornerDataModel.RowCount.ToString());
ListBox1.Items.Add(sv.SheetCorner.ToString());
Dim sv As New FarPoint.Web.Spread.SheetView
Dim info As New FarPoint.Web.Spread.StyleInfo()
info.Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, System.Drawing.Color.Teal, 2)
sv.SheetCorner.ColumnCount = 3
sv.SheetCorner.RowCount = 3
sv.SheetCornerSpanModel.Add(0, 0, 2, 2)
sv.SheetCornerStyleModel.SetDirectInfo(0, 0, info)
sv.SheetCornerRowAxisModel.SetSize(0, 100)
sv.SheetCornerColumnAxisModel.SetSize(0, 100)
FpSpread1.Sheets.Add(sv)
ListBox1.Items.Add(sv.SheetCornerDataModel.ColumnCount.ToString())
ListBox1.Items.Add(sv.SheetCornerDataModel.RowCount.ToString())
ListBox1.Items.Add(sv.SheetCorner.ToString())
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.