GroupDocs.Conversion
20.3.0
See the version list below for details.
dotnet add package GroupDocs.Conversion --version 20.3.0
NuGet\Install-Package GroupDocs.Conversion -Version 20.3.0
<PackageReference Include="GroupDocs.Conversion" Version="20.3.0" />
paket add GroupDocs.Conversion --version 20.3.0
#r "nuget: GroupDocs.Conversion, 20.3.0"
// Install GroupDocs.Conversion as a Cake Addin
#addin nuget:?package=GroupDocs.Conversion&version=20.3.0
// Install GroupDocs.Conversion as a Cake Tool
#tool nuget:?package=GroupDocs.Conversion&version=20.3.0
.NET API for Document Conversion
This .NET API can seamlessly integrate and enables your C#, ASP.NET & other .NET apps to convert document formats, without installing any 3rd party tools.
Document Conversion Processing Features
- Provide a source format and fetch its supported conversion formats.
- Generate fixed positioned DOM elements or flow positioned DOM elements for HTML conversion.
- Apply a watermark to the converted document.
- Supports various types of watermarks.
- Supports conversion of N consecutive pages.
- Convert format of specific pages based on page number.
- Convert to HTML format with absolutely positioned HTML elements.
- Supports conversion with advanced configurable options.
- Cache conversion results to local drive or use extension point to customize it.
- Load document from Amazon S3, Azure Blob, FTP, or from local disk.
- Load document via stream or from a specific URL.
- Load password protected documents.
- Enable listening of conversion process stages.
New Features in Version 20.3
- Support for page numeration in the output document when convert
HTML
to Wordprocessing documents. - Hide / remove borders while converting
DOCX
toHTML
. - Rename email fields when converting an Email file.
Enhancements in Version 20.3
- Change date format when converting from email formats.
- Enhanced loading times in general / for Converter.
For the detailed notes, please visit GroupDocs.Conversion for .NET 20.3 Release Notes.
Conversion File Formats
GroupDocs.Conversion allows you to convert any of the following type of file formats: Spreadsheet: XLSX, XLSB, XLS2003, XLT, XLTX, XLTM, XLAM, XLS, XLSM, ODS, TSV, CSV Document: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF, TXT, ODT, OTT Presentation: PPT, PPS, PPTX, PPSX, ODP, POT, POTX, POTM, PPTM, PPSM Image: JPEG-LS, TIFF, TIF, JPEG, JPG, PNG, GIF, BMP, ICO, CMX, DIB, JPC Portable Document: PDF, XPS, EPUB Web: HTM, HTML, MHTML Adobe Photoshop: PSD Microsoft Project: MPT, MPP, MPX Email: MSG, EML, EMLX Microsoft Visio: VSD, VSDX, VSS, VST, VSX, VTX, VDW, VDX, SVG, VSDM, VSSM, VSTM AutoCAD: DXF, DWG, DWF, STL, IFC, DWT Page Description: EPS, PCL, PS, CGM
to the following formats:
Microsoft Excel: XLS, XLSM, XLSB, CSV, XLS2003, TSV, XLTX, XLTM, XLAM
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF, TXT
Microsoft PowerPoint: PPT, PPS, PPTX, PPSX, POT, POTX, POTM, PPTM, PPSM
OpenDocument: ODT, OTT, ODS, ODP, OTP
Images: TIFF, TIF, JPEG, JPG, PNG, GIF, BMP, ICO, EMF, WMF
Fixed Layout: PDF, XPS
Web: HTM, HTML, MHTML
Supported Platforms
GroupDocs.Conversion for .NET does not require any external software or third party tool to be installed. GroupDocs.Conversion for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:
Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure Mac OS: Mac OS X Linux: Linux (Ubuntu, OpenSUSE, CentOS and others) Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later. Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.
Document Information Retrieval
Word Processing: word count, line count, page count, author, creation date. Spreadsheet: worksheet count, author, creation date. Presentation: slide count, author, creation date, presentation format. Email: attachment count, is HTML body, is encrypted, is signed. Image: image width, image height, image format. CAD Drawing: collections of layout and layers. PDF Document: page count, is landscaped, is encrypted, author, creation date.
Getting Started with GroupDocs.Conversion for .NET
Are you ready to give GroupDocs.Conversion for .NET a try? Simply execute Install-Package GroupDocs.Conversion
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Conversion assembly in your project. If you already have GroupDocs.Conversion for .Net and want to upgrade it, please execute Update-Package GroupDocs.Conversion
to get the latest version.
Please check the GitHub Repository for other common usage scenarios.
Convert Specific Pages of DOCX to PDF via C# Code
using (Converter converter = new Converter("sample.docx"))
{
PdfConvertOptions options = new PdfConvertOptions
{
Pages = new List<int>{ 1, 3 }
};
converter.Convert("converted.pdf", options);
}
Use C# to Fetch all Possible Conversion Formats
var allPossibleConversions = Converter.GetAllPossibleConversions();
foreach (var possibleConversions in allPossibleConversions)
{
Console.WriteLine($"Source format: {possibleConversions.Source.Description}");
foreach (var primary in possibleConversions.Primary)
{
Console.WriteLine($"\t...can be converted to {primary.Description}");
}
foreach (var secondary in possibleConversions.Secondary)
{
Console.WriteLine($"\t...can be converted to {secondary.Description}");
}
}
Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Temporary License
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- Microsoft.NETCore.Portable.Compatibility (>= 1.0.1)
- SkiaSharp (>= 1.68.0)
- System.Diagnostics.Debug (>= 4.3.0)
- System.Drawing.Common (>= 4.6.1)
- System.IO.FileSystem.Primitives (>= 4.3.0)
- System.Net.Primitives (>= 4.3.1)
- System.Security.Permissions (>= 4.6.0)
- System.Text.Encoding.CodePages (>= 4.6.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 |
---|---|---|
23.1.0 | 1,250 | 1/31/2023 |
22.12.0 | 4,224 | 12/20/2022 |
22.11.0 | 1,325 | 11/30/2022 |
22.10.0 | 2,099 | 10/31/2022 |
22.9.0 | 2,339 | 9/30/2022 |
22.8.0 | 4,341 | 8/31/2022 |
22.7.0 | 14,781 | 7/31/2022 |
22.6.0 | 11,605 | 6/28/2022 |
22.5.0 | 10,210 | 5/31/2022 |
22.4.0 | 25,606 | 4/21/2022 |
22.2.0 | 20,392 | 3/1/2022 |
22.1.0 | 8,498 | 1/29/2022 |
21.11.0 | 12,739 | 11/30/2021 |
21.10.0 | 16,020 | 10/31/2021 |
21.9.1 | 7,450 | 10/6/2021 |
21.9.0 | 3,395 | 10/1/2021 |
21.8.0 | 6,355 | 8/3/2021 |
21.5.0 | 15,428 | 5/29/2021 |
21.3.1 | 21,318 | 4/12/2021 |
21.3.0 | 5,388 | 3/30/2021 |
21.2.0 | 11,203 | 2/28/2021 |
21.1.0 | 7,196 | 1/31/2021 |
20.12.0 | 16,988 | 12/21/2020 |
20.11.0 | 12,558 | 11/11/2020 |
20.10.0 | 7,934 | 10/14/2020 |
20.9.0 | 10,482 | 9/30/2020 |
20.8.0 | 3,494 | 8/31/2020 |
20.7.0 | 4,102 | 7/31/2020 |
20.6.0 | 15,387 | 6/9/2020 |
20.4.0 | 5,310 | 4/30/2020 |
20.3.0 | 9,356 | 3/19/2020 |
20.1.0 | 9,076 | 1/29/2020 |
19.12.1 | 3,589 | 1/2/2020 |
19.12.0 | 798 | 12/30/2019 |
19.11.0 | 1,713 | 11/30/2019 |
19.10.0 | 2,116 | 10/31/2019 |
19.9.0 | 6,894 | 9/23/2019 |
19.6.0 | 3,209 | 6/27/2019 |
19.5.0 | 985 | 5/28/2019 |
19.4.0 | 1,591 | 4/30/2019 |
19.3.0 | 806 | 3/6/2019 |
19.1.0 | 969 | 1/30/2019 |
18.11.0 | 1,007 | 11/30/2018 |
18.10.0 | 2,839 | 10/16/2018 |
18.9.0 | 850 | 9/30/2018 |
18.8.0 | 1,664 | 8/14/2018 |
18.7.0 | 1,059 | 7/9/2018 |
18.6.0 | 1,132 | 6/19/2018 |
18.5.0 | 1,324 | 5/23/2018 |
18.4.0 | 1,227 | 4/20/2018 |
18.3.0 | 956 | 3/21/2018 |
18.2.0 | 1,006 | 2/16/2018 |
18.1.0 | 1,118 | 1/23/2018 |
17.12.0 | 1,024 | 12/13/2017 |
17.11.0 | 1,021 | 11/19/2017 |
17.10.0 | 1,259 | 10/26/2017 |
17.9.0 | 1,201 | 9/20/2017 |