Spreadsheet Splitter
Sheetize Spreadsheet Splitter for .NET는 개발자들이 대용량 스프레드시트 파일을 더 작은 부분으로 나누는 데 도움을 줍니다. 이는 데이터 배포 및 관리에 이상적입니다.
주요 기능
스프레드시트를 더 작은 파일로 분할
대용량 스프레드시트 파일을 시트, 범위 또는 사용자 정의 규칙에 따라 분할하여 처리 및 공유를 용이하게 합니다.
상세 가이드
스프레드시트 분할
스프레드시트를 여러 개의 작은 파일로 분할하려면:
- 분할기 초기화:
SpreadsheetSplitter
의 인스턴스를 생성합니다. - 분할 기준 설정:
SplitterOptions
를 사용하여 분할 방법을 지정합니다 (예: 시트별 또는 행 수별). - 입출력 경로 정의: 입력 파일과 출력 분할 파일의 경로를 설정합니다.
- 분할 실행:
Process
메서드를 호출하여 파일을 분할합니다.
예시: 시트별로 XLSX 분할
// Step 1: Initialize the Spreadsheet Splitter
var splitter = new SpreadsheetSplitter();
// Step 2: Configure options for splitting by sheet
var options = new SplitterOptions(SplitMode.BySheet);
// Step 3: Set file paths
options.AddInput(new FileDataSource("input.xlsx"));
options.AddOutput(new FileDataSource("output_directory"));
// Step 4: Execute the split process
splitter.Process(options);
이 도구는 대용량 파일을 더 작고 관리하기 쉬운 조각으로 나누는 데 완벽하며, 데이터를 더 쉽게 접근하고 작업할 수 있게 만듭니다.