일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- memory
- digitalRead
- Android
- c++
- parameter
- Pointer
- inheritance
- APP
- Class
- flutter
- Unity
- file access
- Overloading
- SERIAL
- Barcode
- Encapusulation
- wpf
- java
- Contour
- Read
- UNO
- atmega328
- mfc
- compare
- stream
- aduino
- length
- sensor
- preprocessing
- public
- Today
- Total
목록Excel (2)
폴크(FOLC)

# xls 파일에 Local Storage 에 있는 Image 를 Load 해서 추가한다. > 추가하는 이미지의 크기를 파라미터로 입력할 수 있다. # 관련 소스 코드 > using Excel = Microsoft.Office.Interop.Excel; > Excel.Range PositionXY = (Excel.Range)workSheet.Cells[Row, Col]; > workSheet.Shapes.AddPicture(strSaveFileFullPath, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoTrue, PositionXY.Left, PositionXY.Top, 100, 100);

# Excel 파일로 데이터를 연동 > Excel 관련 Reference 를 연결시키면 파일 저장 및 열기를 손 쉽게 진행 한다. # 솔루션 탐색기 - 참조 - COM - Excel 를 검색 > 설치되어있는 Excel 버전에 따라서 Object Library 번호가 다르다. # using Excel = Microsoft.Office.Interop.Excel; # SaveFileDialog saveFile = new SaveFileDialog(); > saveFile.Filter = "Excel Files|*.xls"; > saveFile.Title = "Save Excel File"; > if (saveFile.ShowDialog() == DialogResult.OK) { Excel.Application..