![]() |
VOOZH | about |
dotnet add package DocSharp.Binary.Ppt --version 0.20.0
NuGet\Install-Package DocSharp.Binary.Ppt -Version 0.20.0
<PackageReference Include="DocSharp.Binary.Ppt" Version="0.20.0" />
<PackageVersion Include="DocSharp.Binary.Ppt" Version="0.20.0" />Directory.Packages.props
<PackageReference Include="DocSharp.Binary.Ppt" />Project file
paket add DocSharp.Binary.Ppt --version 0.20.0
#r "nuget: DocSharp.Binary.Ppt, 0.20.0"
#:package DocSharp.Binary.Ppt@0.20.0
#addin nuget:?package=DocSharp.Binary.Ppt&version=0.20.0Install as a Cake Addin
#tool nuget:?package=DocSharp.Binary.Ppt&version=0.20.0Install as a Cake Tool
DocSharp is a pure C# library to convert between document formats without Office interop or native dependencies (except for some special packages, see requirements).
The following packages are currently available:
Packages can be installed via NuGet:
👁 NuGet
👁 NuGet
👁 NuGet
👁 NuGet
👁 NuGet
👁 NuGet
The optional extra packages DocSharp.ImageSharp, DocSharp.SystemDrawing, DocSharp.SkiaSharp, DocSharp.MagickNET allow to convert unsupported images (e.g. GIF / TIFF for DOCX → RTF or WMF / EMF / TIFF for DOCX → Markdown/HTML). Each of these has pros and cons, the choice depends on your requirements. More information can be found in the Wiki.
There is no common DOM to manipulate or generate documents, this library is mainly for conversion. Some helper methods on top of the Open XML SDK and format-specific writers are available, but they are mostly intended for internal use; however they could be extended/improved in the future.
You can consider using the Open XML SDK itself or other <a href="#recommended_libraries">recommended libraries</a> for documents creation and manipulation. Some of these are used in the sample app to test two-steps conversions, compare results, or generate documents in multiple formats with the same code.
DocSharp provides methods to accept/return a WordprocessingDocument directly (in addition to file path / Stream / byte array), and a SaveTo extension method for WordprocessingDocument.
Supported elements vary depending on input and output formats, see Supported features for an overview.
<a id="Requirements"></a>
You can refer to the project Wiki or sample apps.
Dependencies:
Forked:
Others (credits for parts of the logic, not direct dependencies):
<a id="recommended_libraries"></a> Other recommended libraries (some of these are used in the sample app, not dependencies when installing packages):
DocSharp is licensed under MIT license and can be used for both open source and commercial projects.
DocSharp.ImageSharp and DocSharp.MagickNET are licensed under Apache 2.0 license.
ImageSharp has a dual license, please visit their repository for more information.
VectSharp is used under LGPL in this project (GPL packages are not used).
DocSharp.Renderer is itself licensed under MIT, but depends on QuestPDF which has additional requirements for companies and may require purchasing a license. Please check their repository for information on the Community and Commercial licenses.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.20.0 | 218 | 5/13/2026 |
| 0.18.1 | 594 | 4/9/2026 |
| 0.18.0 | 175 | 4/6/2026 |
| 0.17.0 | 6,865 | 12/4/2025 |
| 0.16.0 | 255 | 10/26/2025 |
| 0.15.0 | 536 | 9/12/2025 |
| 0.14.0 | 245 | 9/2/2025 |
| 0.13.1 | 241 | 8/31/2025 |
| 0.13.0 | 246 | 8/29/2025 |
| 0.12.0 | 348 | 8/13/2025 |
| 0.11.0 | 210 | 8/9/2025 |
| 0.10.0 | 280 | 8/4/2025 |
| 0.9.0 | 157 | 8/1/2025 |
| 0.8.5 | 497 | 7/25/2025 |
| 0.8.4 | 158 | 7/18/2025 |
| 0.8.3 | 208 | 7/18/2025 |
| 0.8.2 | 221 | 7/17/2025 |
| 0.8.1 | 192 | 7/13/2025 |
| 0.8.0 | 220 | 7/10/2025 |
| 0.7.1 | 235 | 5/23/2025 |