첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
유용한 소스 코드가 있으면 icodebroker@naver.com으로 보내주시면 감사합니다.
블로그 자료는 자유롭게 사용하세요.

728x90
반응형

fpSpread1.ActiveSheet.VisualStyles = FarPoint.Win.VisualStyles.Off;

fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.Renderer = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer();
fpSpread1.ActiveSheet.RowHeader.DefaultStyle.Renderer    = new FarPoint.Win.Spread.CellType.RowHeaderRenderer();

FarPoint.Win.Spread.GridLine redGridLine = new FarPoint.Win.Spread.GridLine
(
    FarPoint.Win.Spread.GridLineType.Raised,
    Color.Purple,
    Color.Red,
    Color.Orange
);

FarPoint.Win.Spread.GridLine blueGridLine = new FarPoint.Win.Spread.GridLine
(
    FarPoint.Win.Spread.GridLineType.Raised,
    Color.Purple,
    Color.Blue,
    Color.LightBlue
);

fpSpread1.ActiveSheet.ColumnHeader.RowCount = 3;
fpSpread1.ActiveSheet.RowHeader.ColumnCount = 2;

fpSpread1.ActiveSheet.ColumnHeader.HorizontalGridLine = blueGridLine;
fpSpread1.ActiveSheet.ColumnHeader.VerticalGridLine   = blueGridLine;

fpSpread1.ActiveSheet.RowHeader.HorizontalGridLine = redGridLine;
fpSpread1.ActiveSheet.RowHeader.VerticalGridLine   = redGridLine;
728x90
반응형
Posted by 사용자 icodebroker

댓글을 달아 주세요