GroupDocs.Conversion 20.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GroupDocs.Conversion --version 20.1.0                
NuGet\Install-Package GroupDocs.Conversion -Version 20.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GroupDocs.Conversion" Version="20.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Conversion --version 20.1.0                
#r "nuget: GroupDocs.Conversion, 20.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Conversion as a Cake Addin
#addin nuget:?package=GroupDocs.Conversion&version=20.1.0

// Install GroupDocs.Conversion as a Cake Tool
#tool nuget:?package=GroupDocs.Conversion&version=20.1.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.

Important Announcement about 20.1.0 Release

In this version the Legacy API of GroupDocs.Conversion has been removed. So from version 20.1.0 GroupDocs.Conversion.Legacy does not exist anymore.

New Features in Version 20.1.0

  • Support for EML to MSG conversion.
  • Convert attachments from a mail document.
  • Retrieve prepared default ConvertOptions for desired target conversion.
  • GetAllPossibleConversions method to return all supported conversions.
  • GetPossibleConversions for a specific document format without instantiating a Converter.

For the detailed notes, please visit GroupDocs.Conversion for .NET 20.1 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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
24.9.0 1,890 9/30/2024
24.8.0 6,690 8/23/2024
24.7.0 4,299 7/31/2024
24.6.0 7,829 6/28/2024
24.5.0 7,969 5/31/2024
24.4.0 11,453 4/30/2024
24.3.0 32,570 3/28/2024
24.2.0 18,453 2/29/2024
24.1.0 28,969 1/31/2024
23.12.0 23,097 12/22/2023
23.11.0 18,413 11/30/2023
23.10.0 17,654 10/31/2023
23.9.0 26,899 9/30/2023
23.8.0 25,775 8/31/2023
23.7.0 31,885 7/31/2023
23.6.0 67,884 6/20/2023
23.5.0 13,789 5/31/2023
23.4.0 27,126 4/28/2023
23.3.1 34,399 4/3/2023
23.3.0 12,847 3/30/2023
23.2.0 36,240 2/28/2023
23.1.0 126,923 1/31/2023
22.12.0 36,588 12/20/2022
22.11.0 14,354 11/30/2022
22.10.0 23,673 10/31/2022
22.9.0 28,291 9/30/2022
22.8.0 25,413 8/31/2022
22.7.0 77,832 7/31/2022
22.6.0 46,044 6/28/2022
22.5.0 23,552 5/31/2022
22.4.0 48,236 4/21/2022
22.2.0 55,544 3/1/2022
22.1.0 29,587 1/29/2022
21.11.0 24,716 11/30/2021
21.10.0 28,575 10/31/2021
21.9.1 24,874 10/6/2021
21.9.0 15,126 10/1/2021
21.8.0 19,331 8/3/2021
21.5.0 33,052 5/29/2021
21.3.1 33,944 4/12/2021
21.3.0 35,192 3/30/2021
21.2.0 36,310 2/28/2021
21.1.0 37,156 1/31/2021
20.12.0 65,298 12/21/2020
20.11.0 39,245 11/11/2020
20.10.0 32,331 10/14/2020
20.9.0 17,358 9/30/2020
20.8.0 27,697 8/31/2020
20.7.0 28,263 7/31/2020
20.6.0 99,070 6/9/2020
20.4.0 42,488 4/30/2020
20.3.0 54,600 3/19/2020
20.1.0 47,541 1/29/2020
19.12.1 43,089 1/2/2020
19.12.0 6,410 12/30/2019
19.11.0 39,093 11/30/2019
19.10.0 7,556 10/31/2019
19.9.0 10,719 9/23/2019
19.6.0 7,592 6/27/2019
19.5.0 4,893 5/28/2019
19.4.0 5,511 4/30/2019
19.3.0 4,638 3/6/2019
19.1.0 4,771 1/30/2019
18.11.0 4,829 11/30/2018
18.10.0 6,595 10/16/2018
18.9.0 4,917 9/30/2018
18.8.0 5,984 8/14/2018
18.7.0 4,909 7/9/2018
18.6.0 4,839 6/19/2018
18.5.0 4,870 5/23/2018
18.4.0 4,827 4/20/2018
18.3.0 4,210 3/21/2018
18.2.0 4,473 2/16/2018
18.1.0 4,773 1/23/2018
17.12.0 4,465 12/13/2017
17.11.0 4,399 11/19/2017
17.10.0 4,741 10/26/2017
17.9.0 4,748 9/20/2017