sautinsoft.pdfmetamorphosis
2024.5.27
dotnet add package sautinsoft.pdfmetamorphosis --version 2024.5.27
NuGet\Install-Package sautinsoft.pdfmetamorphosis -Version 2024.5.27
<PackageReference Include="sautinsoft.pdfmetamorphosis" Version="2024.5.27" />
paket add sautinsoft.pdfmetamorphosis --version 2024.5.27
#r "nuget: sautinsoft.pdfmetamorphosis, 2024.5.27"
// Install sautinsoft.pdfmetamorphosis as a Cake Addin
#addin nuget:?package=sautinsoft.pdfmetamorphosis&version=2024.5.27
// Install sautinsoft.pdfmetamorphosis as a Cake Tool
#tool nuget:?package=sautinsoft.pdfmetamorphosis&version=2024.5.27
.NET SDK to convert HTML, DOCX, TXT to PDF
SautinSoft.PdfMetamorphosis is .NET assembly (SDK) which gives API to convert Text, HTML, RTF, DOC and DOCX documents to PDF format.
Quick links
Top Features
- Convert DOCX file to PDF file.
- Convert RTF file to PDF file.
- Convert HTML file to PDF file.
- Convert Text file to PDF file.
- Split and Merge PDF files.
System Requirement
- .NET Framework 4.6.2 - 4.8
- .NET 6, .NET 8
- Windows, Linux, macOS, Android, iOS.
Getting Started with PDF Metamorphosis .Net
Are you ready to give PDF Metamorphosis .NET a try? Simply execute Install-Package sautinsoft.pdfmetamorphosis
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have PDF Metamorphosis .NET and want to upgrade the version, please execute Update-Package sautinsoft.pdfmetamorphosis
to get the latest version.
Convert Word to PDF
string docxPath = @"..\..\example.docx";
string pdfPath = Path.ChangeExtension(docxPath, ".pdf");
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.DocxToPdfConvertFile(docxPath, pdfPath);
Convert HTML to PDF
string inputFile = @"..\..\example.htm";
string outputFile = @"..\..\test.pdf";
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.HtmlToPdfConvertFile(inputFile, outputFile);
Merge PDF files
string[] pdfFiles = { @"..\..\test-00001.pdf", @"..\..\test-00002.pdf" };
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.MergePDFFileArrayToPDFFile(pdfFiles, @"..\..\test_Split_and_Merge_1and2page.pdf");
Resources
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
-
.NETFramework 4.6.2
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
-
.NETFramework 4.7.1
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
-
.NETFramework 4.7.2
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
-
.NETFramework 4.8
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
-
net6.0
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net8.0
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.5.27 | 390 | 5/28/2024 |
2024.1.12 | 17,836 | 1/12/2024 |
2023.10.5 | 15,549 | 10/5/2023 |
2023.5.18 | 8,378 | 5/18/2023 |
9.3.2.8 | 16,869 | 2/8/2023 |
9.2.10.13 | 14,169 | 10/13/2022 |
9.1.5.4 | 15,958 | 5/4/2022 |
9.0.2.16 | 32,961 | 2/16/2022 |
8.6.1.24 | 6,038 | 1/25/2022 |
8.5.12.13 | 4,902 | 12/13/2021 |
8.5.7.20-beta | 1,313 | 7/20/2021 |
8.5.7.1 | 9,569 | 7/1/2021 |
8.4.5.11-beta | 349 | 5/11/2021 |
8.4.5.6-beta | 322 | 5/6/2021 |
8.4.1.28 | 11,790 | 1/28/2021 |
8.3.7.7 | 50,503 | 7/7/2020 |
8.3.5.20 | 1,626 | 5/20/2020 |
8.2.2.25 | 3,336 | 2/28/2020 |
8.1.10.10 | 4,233 | 10/9/2019 |
8.0.9.6 | 4,175 | 9/6/2019 |
7.1.2.14 | 17,143 | 2/14/2019 |
7.0.21.4 | 1,981 | 1/30/2019 |
7.0.8.10 | 3,157 | 8/10/2018 |
7.0.8.1 | 997 | 8/3/2018 |
7.0.6.4 | 1,646 | 5/31/2018 |
7.0.5.3 | 1,952 | 5/3/2018 |
6.8.10.4 | 34,403 | 4/12/2017 |
6.7.12.19 | 4,040 | 1/6/2017 |
What's new in the version PDF Metamorphosis .Net 2024.5:
+ Subsetting Fonts:
Subsetting is the practice of creating a “subset” of a font—a file that contains a custom (and usually limited) collection of glyphs. We've done a lot of work to improve the subsetting of fonts.
+ PDF Writer/Reader:
Previously, a file consisting of a couple of words could take up several megabytes due to the presence of built-in (embedded) fonts. We have optimized and reduced the size of the embedded fonts without losing quality.
+ Images quality: Fixed conversion of images to Jpeg format, the weight of the output file has been reduced.
+ Images speed: We have increased the speed of working with images by optimizing the SkiaSharp-engine.
+ NET 8.0 support: Starting from the version 2024.5 appeared the SautinSoft.PdfMetamorphosis.dll assemblies compiled for a unified platform .NET 8.0.
+ RTF Reader: The issue is related to missing characters between words in Word document. This error has been fixed.
+ DOCX Reader: In some cases, if DOCX contained a nested table, then all content was lost as a result of conversion.
+ PDF Writer: There was a problem with line breaks in some files. Corrected.
The bug with message: "Invalid URI: The hostname could not be parsed" was fixed.
+ Fixed the minor issues, found and sent to us from our customers. Therefore the component became more error-free.