기능 및 기술 개요

EPPlus, 엑셀 워크북용 .NET 엔진

100% 관리된 .NET 코드로 Excel 워크북을 만들고, 읽고, 수정하고, 계산할 수 있습니다. 다양한 형식으로 데이터를 가져오고 내보내기할 수 있습니다. Microsoft Excel은 필요 없습니다.

// EPPlus 8: set the license once at startup
ExcelPackage.License.SetNonCommercialPersonal("Your name");

using var package = new ExcelPackage();
var sheet = package.Workbook.Worksheets.Add("Sales");

sheet.Cells["A1"].LoadFromCollection(
    orders, true, TableStyles.Medium2);
sheet.Cells["F2"].Formula = "SUM(D2:D100)";
package.Workbook.Calculate();

package.SaveAs("sales.xlsx");
478
내장 계산 엔진의 엑셀 함수
760,000
초당 기록된 셀 수
우리가 측정한 방법
73
EPPlus 고객이 있는 국가들
17
2009년부터 오픈 소스, 2020년부터 상업적으로 진행된 수년간의 활발한 개발

지원되는 기능

EPPlus는 Office Open XML 스프레드시트를 관리하기 위한 .NET Framework/.NET Core 라이브러리로, Nuget 을 통해 배포됩니다. 지원되는 .NET 프레임워크에 대해서는 소프트웨어 Bill Of Material 페이지를 참조하세요. EPPlus는 전적으로 관리형 코드로 작성되었으며 Microsoft Excel 같은 다른 라이브러리에 의존하지 않습니다.

라이브러리는 개발자를 염두에 두고 설계되었습니다. 저희의 목표는 엑셀이나 다른 스프레드시트 라이브러리에 대한 지식이 있는 개발자가 API를 쉽게 익힐 수 있도록 하는 것이었습니다. 또는 누군가 말했듯이, 지능적으로 승리를 거두는 법입니다!

Formulas & filters

A built-in calculation engine with no dependency on Excel or any other library, plus filters and slicers.

모든 기능 보기덜 보여줘
가이드를 읽어보세요: Formulas & filters

Worksheets & ranges

Rows, columns and cells, and everything you do with them.

모든 기능 보기덜 보여줘
  • Add, remove, reorder, rename and hide worksheets
  • Print areas, page breaks, document and printer settings
  • Headers and footers
  • Worksheet properties such as gridlines and tab colors
  • Named ranges
  • Used range and taking and skipping rows and columns
  • Sort top to bottom or left to right, with custom lists, and the sort state is updated
  • FillNumber, FillDateTime and FillList
  • Copy styles only, or exclude cell properties when copying
  • Row and column access via EntireRow and EntireColumn
  • Hyperlinks
  • Notes with rich text, and threaded comments with mentions and resolve/re-open
  • Query cells and ranges with LINQ
  • Validation types: integer, decimal, list, date, time, any and custom
가이드를 읽어보세요: Worksheets & ranges

Tables & pivot tables

Formatted tables and pivot tables, including pivot table calculation.

모든 기능 보기덜 보여줘
가이드를 읽어보세요: Tables & pivot tables

Charts & drawing objects

Charts, shapes, pictures, form controls and other drawing objects.

모든 기능 보기덜 보여줘
가이드를 읽어보세요: Charts & drawing objects

Styling

Cell styles, conditional formatting and themes.

모든 기능 보기덜 보여줘
가이드를 읽어보세요: Styling

Import & export data

Move data in and out of worksheets with one line of code.

  • Import from collections, arrays, DataTables, DataReaders and dictionaries
  • Export to CSV, JSON, DataTable or IEnumerable<T>
  • Load and save files, streams and byte arrays, with async/await
  • Read and write CSV and other text files via LoadFromText and SaveToText, also fixed-width
모든 기능 보기덜 보여줘
  • Attributes on your classes control styling, number formats and formulas when loading collections
  • Fixed-width text files, via LoadFromText and ToText
  • Write to a web response stream without file access
  • Templates
  • Reads and writes xlsx and xlsm. The xlsx Strict format is not supported.
  • Reads xltx, crtx and thmx
  • External connections and query tables: Power Query, database, OLAP, web and text connections, and pivot tables with an external connection as source
가이드를 읽어보세요: Import & export data

Output formats

Render worksheet content as HTML for web pages, with PDF on the way.

모든 기능 보기덜 보여줘
가이드를 읽어보세요: Output formats

VBA & protection

Protection, encryption, signatures, sensitivity labels and macros.

모든 기능 보기덜 보여줘
  • Sensitivity labels via Microsoft Information Protection
  • Open password protected workbooks
  • Standard encryption for older Office versions, Agile for Office 2010 and later
  • VBA signatures: Legacy, Agile and V3, with five hash algorithms
가이드를 읽어보세요: VBA & protection

대형 워크북 사용 수행

63MB 크기의 워크북으로, 200열과 100,000행으로 구성되어 있으며, 셀의 절반은 정수, 나머지 절반은 36자 문자열로 구성되어 있습니다.

EPPlus 8.7.2, Intel Core i9-12900HK (14 cores, 2.5 GHz), 64 GB RAM, NVMe SSD, Windows 11, .NET 10

테스트 소스 코드 보기
26.2 s
워크북을 만들어 디스크에 저장하세요
15.7 s
디스크에서 워크북을 불러오세요

시작할 준비 되셨나요?

A battle-hardened codebase after many years as the world's most downloaded .NET library for spreadsheets, with quality ensured by thousands of unit tests.

The source code for EPPlus is openly available on GitHub , distributed under the Polyform Noncommercial license.

버전 5 이후 라이브러리에 추가된 기능에 대해서는 이 페이지를 참조하세요.