Spread WPF Documentation
GetGridLine Method
Example 


Gets the control gridline; the gridline color is based on the ShowGridLine property.
Syntax
'Declaration
 
Public Function GetGridLine( _
   ByVal sheetArea As SheetArea _
) As BorderLine
'Usage
 
Dim instance As Worksheet
Dim sheetArea As SheetArea
Dim value As BorderLine
 
value = instance.GetGridLine(sheetArea)
public BorderLine GetGridLine( 
   SheetArea sheetArea
)

Parameters

sheetArea
Example
This example uses the GetGridLine method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetGridLine(GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).Color.ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetGridLine(GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).Color.ToString())
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

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.