■ 시트 그리드 라인을 표시하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 |
FarPoint.Win.Spread.GridLine horizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red ); FarPoint.Win.Spread.GridLine verticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Chartreuse); fpSpread1.Sheets[0].HorizontalGridLine = horizontalGridLine; fpSpread1.Sheets[0].VerticalGridLine = verticalGridLine; |