Egap.Documents.Html
2.2.0
dotnet add package Egap.Documents.Html --version 2.2.0
NuGet\Install-Package Egap.Documents.Html -Version 2.2.0
<PackageReference Include="Egap.Documents.Html" Version="2.2.0" />
<PackageVersion Include="Egap.Documents.Html" Version="2.2.0" />
<PackageReference Include="Egap.Documents.Html" />
paket add Egap.Documents.Html --version 2.2.0
#r "nuget: Egap.Documents.Html, 2.2.0"
#:package Egap.Documents.Html@2.2.0
#addin nuget:?package=Egap.Documents.Html&version=2.2.0
#tool nuget:?package=Egap.Documents.Html&version=2.2.0
Egap.Documents.Html
HTML for Egap.Documents: HTML and XHTML read into the document model,
styled through the CSS cascade, and written from it, with flexbox and grid layout, rounded and shadowed boxes, positioned
boxes, @page rules and margin boxes, HTML to PDF, and HTML stamps and page bands; MHTML web archives as Chromium,
Edge and Word save them; and EPUB 2 and 3 books read and EPUB 3.3 books written. Nothing outside the page is fetched unless you give a resolver. Fully managed and MIT-licensed.
using Egap.Documents;
using Egap.Documents.Pdf;
HtmlFormat.Register(); // once at startup: Document.Load and Save know .html
Document page = Document.LoadHtml("invoice.html");
page.SaveAsDocx("invoice.docx");
Document.LoadEpub("novel.epub").SaveAsPdf("novel.pdf");
Document.LoadDocx("handbook.docx").SaveAsEpub("handbook.epub");
string html = Document.LoadDocx("report.docx").ToHtml();
PdfConvert.FromHtml("<h1>Invoice</h1><p>Total: 120 EUR</p>", "invoice.pdf");
HtmlFormat, HtmlLoadOptions and HtmlSaveOptions keep their names and namespace, so code written against
Egap.Documents 1.x compiles once this package is added. Source and changelog:
github.com/inexin/Egap.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AngleSharp (>= 1.8.5)
- Egami.Css (>= 1.2.0)
- Egap.Documents (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.