c#/fpspread

[C#] Cell Font, 맞춤 설정 (가운데 맞춤 왼쪽 맞춤 등)

byH 2021. 12. 2. 15:38
728x90
반응형

- Cell의 Font 설정

- Cell의 정렬(맞춤) 설정

 fpSpread1.Sheets[sheetno].Cells[0, 1].Font = new System.Drawing.Font("나눔스퀘어라운드 Regular", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));

 

 fpSpread1.Sheets[sheetno].Cells[0, 1].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;

 

 fpSpread1.Sheets[sheetno].Cells[0, 1].VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;

 

 

 

 

728x90
반응형